The tough thing about learning data is remembering all the syntax. While at Dataquest we advocate getting used to consulting the Python documentation, sometimes it’s nice to have a handy reference, so we’ve put together this cheat sheet to help you out!
This cheat sheet is the companion to our Python Basics Data Science Cheat Sheet
If you’re interested in learning Python, we have a free Python Programming: Beginner course which can start you on your data science journey.
Download a Printable PDF of this Cheat Sheet
Key Basics, Printing and Getting Help
This cheat sheet assumes you are familiar with the content of our Python Basics Cheat Sheet
s |
A Python string variable |
i |
A Python integer variable |
f |
A Python float variable |
l |
A Python list variable |
d |
A Python dictionary variable |
Lists
l.pop(3) |
Returns the fourth item from l and deletes... |
No comments:
Post a Comment