示例#1
0
def timeseries(entity_data):
    """Fixture for Timeseries class object

    :param entity_data:
    :return:

    """
    entity_data.load_backup(entity_data_backup)
    _timeseries = TimeSeries(entity_data, 'Sales', 'annual')
    return _timeseries
示例#2
0
def scalar(entity_data):
    """Fixture for Scalar class object

    :param entity_data:
    :return:

    """

    entity_data.load_backup(entity_data_backup)
    _scalar = Scalar(entity_data, 'Loan', 'annual')
    return _scalar
示例#3
0
def period_series(entity_data):
    entity_data.load_backup(entity_data_backup)
    _period_series = PeriodSeries(entity_data, 'Sales', 'annual')
    return _period_series
示例#4
0
def variable(entity_data):
    entity_data.load_backup(entity_data_backup)
    _variable = Variable(entity_data, "Sales")
    return _variable