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

[Core] Fixed RuntimeWarning Generated by _get_cols (#538) #563

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

taniishkaaa
Copy link
Contributor

Fixes #538

@kvnkho
Copy link
Collaborator

kvnkho commented Jun 21, 2023

Hey @taniishkaaa , on this one, you need to fix it here: https://github.com/Nixtla/statsforecast/blob/main/nbs/src/core/core.ipynb

And then type nbdev in the terminal to make the new .py file. The .py file is created from the .ipynb file. Otherwise, this change will not persist when someone else edits the .ipynb file.

And then you can clean the notebooks using the command ./action_files/clean_nbs and verify that the linters pass using ./action_files/lint

More instructions can be found in CONTRIBUTING here.

@taniishkaaa
Copy link
Contributor Author

hi @kvnkho im having trouble installing the libraries within the environment.yml file. It produces the following error:
Command 'mamba' not found, did you mean: command 'samba' from deb samba (2:4.15.13+dfsg-0ubuntu1.1) Try: sudo apt install <deb name>
Can you help me resolve this issue?

@kvnkho
Copy link
Collaborator

kvnkho commented Jun 25, 2023

Sorry late reply @taniishkaaa , I think you shouldn't need mamba to install the dependencies. On your fork if you clone the repo, you can navigate to the root of the directory and do:

pip install -e ".[dev]"

If you have pip available. If you use conda, you can run the pip install inside a new environment.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@kvnkho kvnkho changed the base branch from main to Developments June 25, 2023 23:16
@kvnkho kvnkho changed the base branch from Developments to main June 25, 2023 23:16
@kvnkho
Copy link
Collaborator

kvnkho commented Jun 25, 2023

@taniishkaaa , I see you already changed the code in the right notebook. We're nearly there.

Just run nbdev_export to generate the .py file from the change to the notebook. Note you need nbdev installed for this.

Also, it looks like his branch now just has merge conflicts due to the changes in master. I think you merged rather than rebased? It might be easiest if you just branched off the new main again and did these changes. I can hop on a call and help you with that if you want.

@kvnkho
Copy link
Collaborator

kvnkho commented Jun 25, 2023

Could you give me access to your fork? https://github.com/taniishkaaa/statsforecast/ . I think I can fix it also.

@taniishkaaa
Copy link
Contributor Author

taniishkaaa commented Jun 26, 2023

I'm comfortable either way. Also, you now have access to the fork.

@kvnkho
Copy link
Collaborator

kvnkho commented Jun 26, 2023

@taniishkaaa , we did it! Just needed to merge the master into your branch and run nbdev_export.

Thanks for the contribution! I'll let the tests pass and then I'll accept this and merge it in.

@kvnkho kvnkho merged commit 57b3b4c into Nixtla:main Jun 26, 2023
15 checks passed
@taniishkaaa
Copy link
Contributor Author

@taniishkaaa , we did it! Just needed to merge the master into your branch and run nbdev_export.

Thanks for the contribution! I'll let the tests pass and then I'll accept this and merge it in.

yay! Thanks for all your help. lmk if I can help contribute some more

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

Successfully merging this pull request may close these issues.

[Core] RuntimeWarning Generated by _get_cols
2 participants