image_output_1.png
import pandas as pd

data = pd.read_csv('../input/time-series-datasets/Electric_Production.csv')

df = pd.read_csv('/kaggle/input/time-series-datasets/monthly-beer-production-in-austr.csv')

df.Month = pd.to_datetime(df.Month)

df = df.set_index('Month')
df.head()