Python Forum
Select data from between two timestamps
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Select data from between two timestamps
#3
Hi,

Thanks for your reply.
But with the examples given in the link i dont know how to get it to work with my code.
My knowledge of python is limited Cry

Thanks.

I managed with the code below to get the desired dates, but the values given for that dates (WS_kph_Max) doesnt match from the source.

Print(df['2020-01-20 20:59:00':'2020-01-22 21:01:00'])
Output:

                    WS_kph_Max
TIMESTAMP                     
2020-01-20 20:59:00      0.078
2020-01-20 21:00:00      0.078
2020-01-20 21:01:00      0.078

Yes its working. Smile

Now lets see if i can get it to plot.

Thanks.
Reply


Messages In This Thread
Select data from between two timestamps - by Makada - Jan-29-2020, 08:58 PM
RE: Select data from between two timestamps - by Makada - Jan-30-2020, 08:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Select column between to dates CSV data PythonJD 0 1,806 Apr-14-2020, 12:22 PM
Last Post: PythonJD
  select data based on indice Staph 4 2,591 Jul-15-2019, 02:05 AM
Last Post: scidam
  how to select particular rows data from a array raady07 3 4,454 Mar-06-2017, 02:21 AM
Last Post: raady07

Forum Jump:

User Panel Messages

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