The following data is able to be plot using matplotlib but not after converting into a Pandas Series. How can it be plotted using pandas?
Without pandas
scores = [Decimal('3.7989'),
Decimal('4.7989'),
Decimal('5.7989'),
Decimal('6.7989'),
Decimal('7.7989')]
timestamps = [datetime.datetime(2013, 11, 12, 21, 21, 52),
datetime.datetime(2013, 11, 12, 21, 21, 8),
datetime.datetime(2013, 11, 12, 21, 21, 1),
datetime.datetime(2013, 11, 12, 21, 20, 1),
datetime.datetime(2013, 11, 12, 21, 19, 33)]
plt.plot(timestamps,score)

Using pandas
ts = pd.Series(scores, index=timestamps)
ts.plot()
We get the error: TypeError: Series has object dtype and cannot be converted: no numeric data to plot