Here is the code below.
plt.figure(figsize=[15,7]) sm.tsa.seasonal_decompose(bitcoin_month.Weighted_Price).plot() print("Dickey–Fuller test: p=%f" % sm.