I have a dataframe which looks like this:
df_raw.head()
Ticker FY Periodicity Measure Val Date
0 BP9DL90 2009 ANN CPX 1000.00 2008-03-31 00:00:00
1 BP9DL90 2010 ANN CPX 600.00 2009-03-25 00:00:00
2 BPRTD89 2010 ANN CPX 600.00 2009-09-16 00:00:00
3 BP9DL90 2011 ANN CPX 570.00 2010-03-17 00:00:00
4 BPSRD74 2011 ANN GRM 57.09 2010-09-06 00:00:00
[5 rows x 6 columns]
How do I filter out the table such that I get the rows with the max Date for each Ticker (irrespective of other column values)? The Date is in the Timestamp format.
Thanks