def _load(self, metrix):
if isinstance(metrix, TimeSeries):<EOL><INDENT>return metrix<EOL><DEDENT>if isinstance(metrix, dict):<EOL><INDENT>return TimeSeries(metrix)<EOL><DEDENT>return TimeSeries(utils.read_csv(metrix))<EOL>
Load time series.
:param timeseries: a TimeSeries, a dictionary or a path to a csv file(str).
:return TimeSeries: a TimeSeries object.