When I copy the code proposed in the exercise:
import matplotlib.pyplot as plt
plt.plot(euro_to_dollar['Time'],euro_to_dollar['US_dollar'])
plt.show()
What I expected to happen:
Some kind of plot.
What actually happened:
<matplotlib.figure.Figure at 0x7fa80f007748>
euro_to_dollar.info()
<class 'pandas.core.frame.DataFrame'>
Int64Index: 5637 entries, 5698 to 0
Data columns (total 2 columns):
Time 5637 non-null datetime64[ns]
US_dollar 5637 non-null float64
dtypes: datetime64[ns](1), float64(1)
memory usage: 132.1 KB
- this is the type of data contained in the dataframe. it seems to be correct, doesnβt it?
- can it be for datetime64[ns]?
Greetings and thanks in advance.
A.