pandas - Python - Filter DataFrame by Sub DataFrame -
i got dataframe this:
b c 1 1 2 3 2 4 5 6 3 7 8 9
and want filter sub set of dataframe:
c 1 4 6 2 7 9
finally, can output:
b c 2 4 5 6 3 7 8 9
how can solve this?
in [92]: d1.merge(d2) out[92]: b c 0 4 5 6 1 7 8 9
Comments
Post a Comment