Skip to content

Glossary: pandas Beyond the Basics

resample

Also written: .resample()

`groupby` for time: it groups a DatetimeIndex into slots such as days, weeks or months and applies a calculation. It includes empty slots, which `sum` gives 0.

Where the book teaches it

Related terms

FrequencyDatetimeIndexGrouper