Python Forum

Full Version: Custom timeinterval converted to hourly values using Pandas?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

I have a timeserie of values where every week is devided into 4 parts, each representing 42 hours.
Is it possible to convert this to hourly values using Pandas built in functions?

The values starts week 1 2000 (2000/3/1 and ends week 52 2015 (2015/12/27). Part 1 should be repeated for 42 hours and so on.

Sorry if this is a stupuid question. I am total new to Python programming.

Part Value
1 65
2 13
3 44
4 12
If you are totally new to Python,
you should begin with a tutorial:
https://pandas.pydata.org/pandas-docs/st...10min.html