I am a newbie to python. Can someone help me for an alternative to
ax1.plot(data['Date'].astype(datetime.datetime),data[tag +'_Open'])
ax2.bar(data['Date'].astype(datetime.datetime).values, data[tag
+'_Volume'].values)
I am working in colab and it gives me the error.
dtype '<class 'datetime.datetime'>' not understood
What can I replace the astype with to get it to return datetime