In [18]:
import pandas as pd
import matplotlib.pyplot as plt
In [19]:
# data from: https://etherscan.io/chart/etherprice.
prices = pd.read_csv('./data/reddit/prices/EtherPrice.csv', header=0)
prices['Value'] = prices['Value'].astype(int)
prices['Date(UTC)'] = pd.to_datetime(prices['Date(UTC)'])
In [21]:
x = prices['Date(UTC)'].values
y = prices['Value'].values
In [30]:
_ = plt.plot(x, y)
_ = plt.title('eth. price')
_ = plt.xlabel('days')
_ = plt.ylabel('price')
_ = plt.xticks([])
plt.show()
In [ ]:
In [ ]: