groupby
Convenience functions for grouping datetimes in pandas.
Requirements
Examples
import groupbytime
import matplotlib.pyplot as plt
grouped = groupbytime.groupby_times(df, 'weekly')
weekly_mean = grouped.mean()
# plotting timedeltas doesn't really work in pandas so this helps
import matplotlib.pyplot as plt
grouped.plot_timedelta(weekly_mean)