Takes the units defined by the user and attaches them to the TimeSeries.
data (pandas.DataFrame) – Input data. Takes the DataFrame which needs to have units attached.
units (collections.OrderedDict) – The units manually defined by the user.
out – DataFrame converted into TimeSeries with units attached.