janpipek / physt

Python histogram library - histograms as updateable, fully semantic objects with visualization tools. [P]ython [HYST]ograms.
MIT License
129 stars 15 forks source link

Datetime / calendar histograms #31

Open janpipek opened 7 years ago

janpipek commented 7 years ago

Requirements:

Possible axes: 1) month (cyclic) 2) year (continuous) 3) year+month (continuous) 4) day (continuous) 5) hour (cyclic) 6) weekday (cyclic) 7) week+weekday (continuous) 8) year + week (continuous) ...

Properties: 1) It must be possible to have a float quantity on other axes

Use case:

I have the following data:

2010-03-10, 4.3 deg
2010-03-11, -0.3 deg
...
2017-03-13, 3.4 deg
2017-03-14, 6.2 deg

I need a simple way to construct the histogram temperature vs. month of the year, ideally just calling h2...

Compatibility:

janpipek commented 7 years ago

Further requirements: