I have a panda dataframe with the following columns:
Now I would like to plot out a chart with mpf.plot. But I am getting the following error:
How can I avoid the above TypeError Message? I did set the df index with the following command:
dfnew_plot = dfnew_plot.set_index('Date')
Your index isn't the correct dtype. It needs to be converted using: