Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train_df, _ #3

Open
elyselam opened this issue Jul 22, 2018 · 1 comment
Open

train_df, _ #3

elyselam opened this issue Jul 22, 2018 · 1 comment

Comments

@elyselam
Copy link

Hello,
Thanks for sharing the notebook :) Can you please clarify what this snippet of code does?
Does the underscore in
train_df, _ = derive_time_features(train_df)
tells the return function to ignore start_hour?

screen shot 2018-07-21 at 8 30 18 pm

@diogojapinto
Copy link
Owner

That is correct, I don't care about the second return value. You can check a detailed explanation for example here: https://hackernoon.com/understanding-the-underscore-of-python-309d1a029edc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants