Skip to content

Index not change when shifting the 5-day window #1

Description

@gnahcihs

Hi! I found that the generated data was self-repeated, and did not contain the data in previous dates. It could be a mistake in the data generating function:

out = pd.DataFrame(np.column_stack([_add_shifts(dat[:,:-1], 1, n_cols) for i in range(shifts)]),

Here, the _add_shifts(dat[:,:-1], 1, n_cols) should be _add_shifts(dat[:,:-1], i, n_cols) to get shifted rows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions