I have a dataframe and a series, and want to compare the DF column-wise to series.
Dataframe (df) looks like:
1 1 4 7 2 2 3 1 3 2 3 9 Series (s) looks like:
1 3 2 4 3 2 Want to conduct a boolean comparison (where columns values less than series values):
1 T F F 2 T T T 3 F F F Of course I could do a loop, but there should be simpler ways to do that?