TypeError: unhashable type: 'Series' error when trying to plot data from csv file

Viewed 20

I'm trying to plot data using a CSV file where I have taken two columns during a specific time frame within the data, I dont understand the issue since the arrays should be of equal size.. Potentially an issue with the use of the dataframe.datetime.between function but I don't understand why.

birthday = dataframe[dataframe.datetime.between('2012-07-03',
 '2012-07-04')] symh = ('extract column, symh: ',birthday.symh)
pressure = ('extract column, flow_pressure: ',birthday.flow_pressure)

 
  fig, (ax1, ax2) = plt.subplots(2) fig.suptitle('Vertically stacked subplots')
 ax1.plot(birthday, pressure) ax2.plot(birthday, symh)

Thanks for help

0 Answers
Related