Replies: 1 comment
-
I'm not sure I fully understand your question but
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i can't figure it out how to filter the higher time and not plot them, and covert to string and troncate at the minutes on the graph Y=Lap time X=#Lap, actually I'm using this line, but NaT type in some time laps valeu doest allow me to use y.strftime("%M:%S") to troncate te value:
for x,y in zip(third_driver['LapNumber'],third_driver['LapTime']):
max = datetime.time(0,1,45)
if(y<max):
ax.plot(third_driver['LapNumber'], third_driver['LapTime'], color=third_color)
ax.set_xlabel("Time [s]")
ax.set_ylabel("Laps [#]")
Beta Was this translation helpful? Give feedback.
All reactions