Resampling changes the frequency of a time series. Downsampling aggregates values over longer periods (day to month) with a sum, mean, or other function. Upsampling creates additional points, to be filled by propagation or interpolation. In pandas: resample.
Example
df['ventes'].resample('MS').sum()