Python Forum
create 10 yearly blocks from time series using pandas
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
create 10 yearly blocks from time series using pandas
#1
So I have time series of ts = 1, 2,3,4, ........,320

I want to arrange in in dataframe as follows:
row1 1,2,3............., 120
row2, 12,13, 14,........ 122
row3, 24,25,26, ........ 134

etc,

Any help wll be appreciated

simply done using numpy stridded app......
Reply
#2
In what logic, you want to distribute the rows? it will help to think over it
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Parsing and summing time deltas (duration) onto bar + pie charts using pandas - - DRY Drone4four 2 581 Feb-10-2024, 06:04 PM
Last Post: Drone4four
  Help: Conversion of Electricity Data into Time Series Data SmallGuy 3 1,212 Oct-04-2023, 03:31 PM
Last Post: deanhystad
  Time Series Production Process Problem Mzarour 1 2,131 Feb-28-2023, 12:25 PM
Last Post: get2sid
  Pandas read csv file in 'date/time' chunks MorganSamage 4 1,693 Feb-13-2023, 11:24 AM
Last Post: MorganSamage
  reduce time series based on sum condition amdi40 0 1,100 Apr-06-2022, 09:09 AM
Last Post: amdi40
  How to accumulate volume of time series amdi40 3 2,302 Feb-15-2022, 02:23 PM
Last Post: amdi40
  Does a pandas have a date without a time? AlekseyPython 6 4,920 Feb-10-2021, 09:24 AM
Last Post: Naheed
  Recommendations for ML libraries for time-series forecast AndreasPython 0 1,885 Jan-06-2021, 01:03 PM
Last Post: AndreasPython
  Analyzing yearly expenses (CSV file) from debit card Python_User 4 2,631 Dec-14-2020, 06:29 PM
Last Post: Python_User
  Pandas - compute means per category and time rama27 7 3,487 Nov-13-2020, 08:55 AM
Last Post: PsyPy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020