text_html_output_1.png
from sklearn.preprocessing import MinMaxScaler

import matplotlib.pyplot as plt

import pandas as pd

data = pd.read_csv('../input/time-series-datasets/monthly-beer-production-in-austr.csv', index_col='Month', parse_dates=True)
data.columns = ['Production']

train = data[:'1992-12-31']
test = data['1993-01-01':]

scaler = MinMaxScaler()
scaler.fit(train)