Skip to content

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

@ashhadulislam

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**

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