Getting Started

Upsample with an average in Pandas

Align inconsistently reported data for your machine learning

Vaclav Dekanovsky
Towards Data Science
6 min readOct 9, 2020

--

Upsample to average in python and pandas cover
Image by Author (license)

Many models input cumulative variables like rainfalls in a few hours or company revenue over some months. Unfortunately, the data sources are often not aligned in time. One sensor feeds the data every odd hour, another one in even hours. One company…

--

--

Data scientist who loves to explore everything and write about the topics from multiple points of view.