-
-
Notifications
You must be signed in to change notification settings - Fork 701
dataframe sort() doesn't exist any more #40
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
Comments
Thank you! :) — I'll go back through the notebooks, maybe this weekend, and get them updated and working again. Thanks for pointing out that they've gone out of date! Since they have no tests, there's nothing to alert me when a method they use stops existing. Fun historical fact: I myself had actually wanted the method to be named "sorted()" |
This was resolved, it looks like, in ae4a0e8 — so a fresh checkout of the project should assure that you have up-to-date Pandas code. Thanks again for the kind words, and I'm glad the tutorial has been helpful to you! |
I too am having fun with these notebooks and datasets. This is my first look into data analysis. I was planning on submitting a PR with the notebook updates for recent Pandas, but decided not to. Some people may be using older Pandas, while others like myself are using the latest. I’m not sure the best way to cover both without breaking anything. |
Yes, my approach for the moment is to edit code where necessary but otherwise to not disturb the JSON as long as it keeps working on the most recent version of Pandas! |
(I have consistently touted this as one of the best tutorials in any topic in programming that I have read. I keep coming back to this every time I have been away from Pandas for a while and have to refresh my memory. Thanks for ever for doing this.)
Perhaps an errata would be helpful to correct for the API changes that have happened so far.
For one, I found out that dataframe
.sort()
doesnt exist any more and.sort_values()
should be used instead.The text was updated successfully, but these errors were encountered: