def get_time_series(df):
    """ Get a list of all time series of the given data.

    :param df: Dataframe containing the time series
    :return: list of dataframes with time series
    """
    time_series = []
    # get shop ids
    shop_ids = df.shop_id.unique()

    # get time series for each shop and append to time_series
    for shop in shop_ids:
        # also reset the indexing to avoid errors later on
        series = df[df['shop_id'] == shop].reset_index(drop=True)
        time_series.append(series)

    return time_series