I am using a pandas dataframe with a multiindex based on date and stock and then columns like stock price, volume etc.
I want to perform operations such as comparing the