def train(self, x, drop=None):
"""
Train scale
Parameters
----------
x: pd.series| np.array
a column of data to train over
A discrete range is stored in a list
"""
if not len(x):
return
self.range.train(x, drop)