Skip to content

for week, need to change subscript to week instead of year #4

Description

@ashhadulislam

I was running your code in my system
Came across this minor issue.

Need to replace

train_df[date_col + "_week"] = train_df[date_col].dt.**year**
test_df[date_col + "_week"] = test_df[date_col].dt.**year**

with

train_df[date_col + "_week"] = train_df[date_col].dt.**week**
test_df[date_col + "_week"] = test_df[date_col].dt.**week**

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions