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

Updated tutorial.rst with Python 3.6 amendment reference. #561

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

Conversation

Pranav0-0Aggarwal
Copy link

@Pranav0-0Aggarwal Pranav0-0Aggarwal commented Oct 19, 2022

Updated "Creating Table" section with the python 3.6 implementation of Dict() which preserves the order. Read docs for further info- https://docs.python.org/3.6/whatsnew/3.6.html#whatsnew36-pep468

[ ] Wrote test for feature
[ ] Added changes to CHANGELOG.md
[ ] Bumped version number (delete if unneeded)

Changes proposed:
In Tutorial.rst file under creating table, I made a small change of adding about the recent amendment in python 3.6 where dictionaries preserve the order(new implementation of dict()). Many Students are unaware of it and thus I think that it might be a good start for students or programmers following tutorial.

Please add hacktoberfest label to this PR

Updated "Creating Table" section with the python 3.6 implementation of Dict() which preserves the order.
Read docs for further info- https://docs.python.org/3.6/whatsnew/3.6.html#whatsnew36-pep468
@@ -93,8 +93,11 @@ CSVs from URLs are also valid inputs to

------

It's also possible to add columns from a dictionary, but this option is
discouraged because dictionaries do not preserve column order.
It's also possible to add columns from a dictionary. For users< Python 3.6 this method is discouraged because dictionary does not preserve the order.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thank you for this! We're in the middle of requiring Python 3.6 for using this library, so can you please make the change to remove this second sentence here?

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.

None yet

2 participants