Glossary: pandas Beyond the Basics
Year-to-date
Also written: YTD
A running total that restarts each January. Group by year before `cumsum` to get it.
Glossary: pandas Beyond the Basics
Also written: YTD
A running total that restarts each January. Group by year before `cumsum` to get it.