I have a pandas dataframe with 2 columns:
Time Values
07:40 5
08:10 6
08:25 3
08:53 4
... ...
How can I plot a line chart which x-axis is the time and y-axis is values? I tried:
plt.plot(df["Time"],df["Values"])
But I got an error message: ValueError: invalid literal for float: 18:03. I converted the column to datetime format and tried plot_date, but all failed
datetime
format ? – Rahul K P Jul 7 '17 at 6:56