Python Forum
Custom timeinterval converted to hourly values using Pandas? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Custom timeinterval converted to hourly values using Pandas? (/thread-18930.html)



Custom timeinterval converted to hourly values using Pandas? - SinPy - Jun-06-2019

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


RE: Custom timeinterval converted to hourly values using Pandas? - heiner55 - Jun-07-2019

If you are totally new to Python,
you should begin with a tutorial:
https://pandas.pydata.org/pandas-docs/stable/getting_started/10min.html