I have two dataframes structured like this:
X A B C SUM
E 1 0 1 2
F 0 0 1 1
G 1 1 0 2
and this:
X A B C SUM
E 1 0 1 2
F 0 0 1 1
G 1 1 0 2
H 0 0 1 1
I 0 0 0 0
The result that i want to obtain is:
X A B C
H 0 0 1
So, i want a code which is able to create another dataframe made by only those rows which are not present in both dataframes. Moreover, the sum of these rows has to be more than zero.
Could someone help me? Thank You!