I have data (labeled as df
) that looks like this(below) where the 'DATE' column is formatted as such -> MM/DD/YYYY.
I then need to group the available accident data by month.
Anyone know how to do this by first converting 'DATE' column to a datetime
type, setting the index using set_index
and then using groupby
to group by month?