Skip to content Skip to sidebar Skip to footer

Could Not Convert String To Float Error.

I would like to plot values onto the X and Y axis'. I do not want to put any data in the graph, just label the Axis' with Time and DID(As seen below) Here is my code: import pandas

Solution 1:

The Time column may not be of type DateTime.

Will this work with an explicit conversion?

ax1.plot(pd.to_datetime(Time))

Post a Comment for "Could Not Convert String To Float Error."