I have two dataframes, df1
and df2
, each in the following format with the same index and different values:
Value
Date
01-01 60
01-02 70
01-03 -80
I need to compare the two dataframes where values of df1 < df2
and get only those values for which the comparison stands true with their respective indices in a third dataframe df_new
.