Python Forum
Rolling window and apply code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rolling window and apply code
#5
(Jul-15-2022, 10:16 PM)perfringo Wrote:
(Jul-14-2022, 06:00 PM)JunkBoy Wrote: I need help to simplify and reduce the code to something so I can easily access the new Dfs.

I suggest to read Why you don't want to dynamically create variables and then (re)consider your options.

Thanks.
The thing is that I am moving my code from excel to python. I am very new to python and do not have the knowledge to really know what to consider as options in this case. I need advice or someone to set me on the right track.. :)
Reply


Messages In This Thread
Rolling window and apply code - by JunkBoy - Jul-14-2022, 06:00 PM
RE: Split DF to alot of new DFs - by Larz60+ - Jul-15-2022, 05:22 AM
RE: Split DF to alot of new DFs - by JunkBoy - Jul-15-2022, 06:08 AM
RE: Split DF to alot of new DFs - by perfringo - Jul-15-2022, 10:16 PM
RE: Split DF to alot of new DFs - by JunkBoy - Jul-16-2022, 07:33 AM
RE: Split DF to alot of new DFs - by deanhystad - Jul-16-2022, 01:59 PM
RE: Split DF to alot of new DFs - by JunkBoy - Jul-23-2022, 07:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  apply(pd.Series) until no more array mikisDeWitte 1 2,895 Apr-17-2021, 08:45 PM
Last Post: Caprone
  Hurst Exponent in Rolling Basis illmattic 1 3,999 Jan-06-2021, 09:49 PM
Last Post: illmattic
  Calculating Beta over Rolling Periods illmattic 2 5,649 Sep-27-2020, 11:27 PM
Last Post: Larz60+
  Apply rolling window function over time dimension of 3D data Staph 0 2,256 Jan-01-2020, 08:31 AM
Last Post: Staph
  Grouping data based on rolling conditions kapilan15 0 2,032 Jun-05-2019, 01:07 PM
Last Post: kapilan15
  Pandas .rolling() with some calculations inside irmscher 5 6,390 Apr-04-2019, 11:55 AM
Last Post: scidam
  How to use pandas.rolling mean for 3D input array? Prv_Yadv 1 3,958 Mar-26-2019, 11:49 AM
Last Post: scidam
  Numpy Rolling mean window Thunberd 1 4,943 Jun-14-2018, 01:37 AM
Last Post: Larz60+
  Creating a matrix of rolling variances vvvcvvcv 1 2,834 May-26-2018, 12:51 PM
Last Post: killerrex
  Rolling sum for a window of 2 days (Pandas) klllmmm 1 10,434 Feb-02-2018, 03:24 PM
Last Post: klllmmm

Forum Jump:

User Panel Messages

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