text_html_output_1.png
import pandas as pd

f = pd.read_csv('../input/time-series-forecasting-with-yahoo-stock-price/yahoo_stock.csv')

diff_f = f.Open - f.Open.shift()
diff_f.plot()
diff_f.dropna(inplace=True)