recoding data in python pandas -


all,

i have time series of data hourly. see below:

2014-01-01 00:00:00     96.8  2014-01-01 01:00:00     91.3  2014-01-01 02:00:00     97.8  2014-01-01 03:00:00     77.0 2014-01-01 04:00:00    132.7 2014-01-01 05:00:00    188.1 2014-01-01 06:00:00    141.1 2014-01-01 07:00:00    115.5 

i wrangle dataframe looks this:

month  1   2   3   4   5   6   7   8   9 ...
jan
feb                     data
mar
...

what best way in python pandas? data in series pre formmatted , index datetime. here index:

class 'pandas.tseries.index.datetimeindex'  [2014-01-01 00:00:00, ..., 2014-12-31 23:00:00]  length: 8760, freq: none, timezone: none 


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -