AI engineering glossary · NumPy pandas visualization

What is resample?

resample: A pandas method that changes the frequency of time-indexed data, for example grouping daily rows into monthly ones and combining each period with an aggregation. It requires a datetime index and works like a groupby over time periods.

Level: intermediateTopic: NumPy pandas visualization

resample: an example

daily_sales.resample('M').sum() converts daily sales into monthly totals.

Related terms

More NumPy pandas visualization terms

Where you learn it

resample is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.