text_plain_output_1.png image_output_1.png
import pandas as pd

df = pd.read_csv('/kaggle/input/monthly-milk-production-pounds/monthlyMilkProduction.csv')
df.columns = ['Month', 'Production/Cow']
df = df[:-1]
df['Month'] = pd.to_datetime(df['Month'])
df.set_index('Month', inplace=True)

display(df.head())
display(df.tail())