How can you perform a time-based resampling in Pandas?
df.resample()
df.time_resample()
df.groupby("time_column").resample()
df.time_groupby().resample()
This question is part of this quiz :