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

Update pandas.html to remove auto-sorting of dictionary indices in series #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChallenUW
Copy link

A student noticed that section 9.2 of the book (that describes auto sorting of indices when creating a series from a labeled dictionary) conflicts with the video in Module 5.1.2. This is due to a change in the pandas library for python 3.6+ that no longer auto sorts. Release note here: https://pandas.pydata.org/docs/dev/whatsnew/v0.23.0.html#instantiation-from-dicts-preserves-dict-insertion-order-for-python-3-6

Book text revised to show the properly non-sorted series output as well as remove the paragraph that describes auto-sorting.

A student noticed that section 9.2 of the book (that describes auto sorting of indices when creating a series from a labeled dictionary) conflicts with the video in Module 5.1.2. This is due to a change in the pandas library for python 3.6+ that no longer auto sorts. Release note here: https://pandas.pydata.org/docs/dev/whatsnew/v0.23.0.html#instantiation-from-dicts-preserves-dict-insertion-order-for-python-3-6

Book text revised to show the properly non-sorted series output as well as remove the paragraph that describes auto-sorting.
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.

1 participant