I\'m creating a pandas DataFrame with random dates and random integers values and I want to resample it by month and compute the average value of integers. This can be done