text_plain_output_1.png
import matplotlib.pyplot as plt

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')

plt.xlabel = 'Dates'
plt.ylabel = 'Total Production'

train_data = df[:len(df) - 12]
test_data = df[len(df) - 12:]

test_data