Mar-04-2023, 02:17 PM
I have a long list of data looking like this:
Minute and Second are always zero since the data is the 1 hour average of a measurement, which is the last column. I would like to plot this data. If there was only two columns, date and measurement, then I would simply do:
Minute and Second are always zero since the data is the 1 hour average of a measurement, which is the last column. I would like to plot this data. If there was only two columns, date and measurement, then I would simply do:
import pandas as pd import matplotlib.pyplot as plt df=pd.read_csv('data.csv') plt.plot(df)So I am considering to rewrite the dataframe, however, I am unsure if this approach will work. Appreciate any feedback.