Python Forum
Describe repeating sequences in Dataframe and plot results
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Describe repeating sequences in Dataframe and plot results
#1
Hi all,

I have a Dataframe with a time series data. If I plot the data it would look something like in     . Now I want to determine the time that the data is low (interval 1) and the time the data is high (interval 2). I want to plot the results in a graph like in     , so one can see if the repeating cycle is consistent or not.
I'm familiar with the basics of python, but I'm struggling where to start with this analysis. I think I can use something like a treshold to determine if the data is high or low, but how do I calculate the intervals and how can I keep the interval 1 and 2 together for a single cycle?.
Anyone have an idea for a starting point?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comparing results within a list and appending to pandas dataframe Aryagm 1 2,305 Dec-17-2020, 01:08 PM
Last Post: palladium
  Dynamically placing axes in subplots via dataframe plot naftis 1 2,913 Jul-29-2019, 12:10 AM
Last Post: scidam
  describe top JerryGraham 3 2,469 Nov-20-2018, 12:25 AM
Last Post: JerryGraham
  Plot Pandas DataFrame using Dash niks250891 0 5,181 Apr-28-2018, 05:07 PM
Last Post: niks250891

Forum Jump:

User Panel Messages

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