I have this below data frame
Now given a particular holding_date range , I need the average of the columns grouped by the ticker i.e.
I am completely new to pandas data frame , kindly help in sorting this out. Note: the actual data frame is generated from Django table , so Django ORM query is also welcomed