I received data similar to this format
Time Humidity Condition
2014-09-01 00:00:00 84 Cloudy
2014-09-01 01:00:00 94 Rainy
I tried to use df.resample('5T')
but it seems the data cannot be replicated for the same hour and df.resample('5T')
need the function like mean() but I do not need it.
But the problem is... I don't want to use 'mean', because it does not keep "Humidity" and "Condition" as original. I just want the data be
Time Humidity Condition
2014-09-01 00:00:00 84 Cloudy
2014-09-01 00:05:00 84 Cloudy
2014-09-01 00:10:00 84 Cloudy
.
.
.
2014-09-01 00:55:00 84 Cloudy
2014-09-01 01:00:00 94 Rainy
2014-09-01 01:05:00 94 Rainy
2014-09-01 01:10:00 94 Rainy
.
.
.
Wonder is there is a way out, could ask if there is any solution to this issue? Many thanks!