All Projects → justmarkham → Python Reference

justmarkham / Python Reference

Python Quick Reference

Programming Languages

python
139335 projects - #7 most used programming language
script
160 projects

Projects that are alternatives of or similar to Python Reference

Python Cheatsheet
Basic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook)
Stars: ✭ 1,334 (+162.08%)
Mutual labels:  jupyter-notebook, reference
Coursera Deep Learning
Solutions to all quiz and all the programming assignments!!!
Stars: ✭ 505 (-0.79%)
Mutual labels:  jupyter-notebook
Kerasgan
A couple of simple GANs in Keras
Stars: ✭ 501 (-1.57%)
Mutual labels:  jupyter-notebook
Edward
A probabilistic programming language in TensorFlow. Deep generative models, variational inference.
Stars: ✭ 4,674 (+818.27%)
Mutual labels:  jupyter-notebook
Simpleitk Notebooks
Jupyter notebooks for learning how to use SimpleITK
Stars: ✭ 502 (-1.38%)
Mutual labels:  jupyter-notebook
Generative Adversarial Networks
Introduction to generative adversarial networks, with code to accompany the O'Reilly tutorial on GANs
Stars: ✭ 505 (-0.79%)
Mutual labels:  jupyter-notebook
Graph nets
PyTorch Implementation and Explanation of Graph Representation Learning papers: DeepWalk, GCN, GraphSAGE, ChebNet & GAT.
Stars: ✭ 500 (-1.77%)
Mutual labels:  jupyter-notebook
Show attend and tell.tensorflow
Stars: ✭ 508 (-0.2%)
Mutual labels:  jupyter-notebook
Julia Mit
Tutorials and information on the Julia language for MIT numerical-computation courses.
Stars: ✭ 505 (-0.79%)
Mutual labels:  jupyter-notebook
Realtime multi Person pose estimation
Code repo for realtime multi-person pose estimation in CVPR'17 (Oral)
Stars: ✭ 4,760 (+835.17%)
Mutual labels:  jupyter-notebook
Dbda Python
Doing Bayesian Data Analysis, 2nd Edition (Kruschke, 2015): Python/PyMC3 code
Stars: ✭ 502 (-1.38%)
Mutual labels:  jupyter-notebook
Make money with tensorflow 2.0
This is the code for "Make Money with Tensorflow 2.0" by Siraj Raval
Stars: ✭ 503 (-1.18%)
Mutual labels:  jupyter-notebook
Robustness
A library for experimenting with, training and evaluating neural networks, with a focus on adversarial robustness.
Stars: ✭ 506 (-0.59%)
Mutual labels:  jupyter-notebook
Geomstats
Computations and statistics on manifolds with geometric structures.
Stars: ✭ 498 (-2.16%)
Mutual labels:  jupyter-notebook
Labml
🔎 Monitor deep learning model training and hardware usage from your mobile phone 📱
Stars: ✭ 508 (-0.2%)
Mutual labels:  jupyter-notebook
Xlnet Pytorch
Simple XLNet implementation with Pytorch Wrapper
Stars: ✭ 501 (-1.57%)
Mutual labels:  jupyter-notebook
Stanford Cs229
🤖 Exercise answers to the problem sets from the 2017 machine learning course cs229 by Andrew Ng at Stanford
Stars: ✭ 503 (-1.18%)
Mutual labels:  jupyter-notebook
Cat Localizer
Localize your cat at home with BLE beacon, ESP32s, and Machine Learning
Stars: ✭ 503 (-1.18%)
Mutual labels:  jupyter-notebook
Tensorflow Eager Tutorials
Simple tutorials for building neural networks with TensorFlow Eager mode.
Stars: ✭ 509 (+0%)
Mutual labels:  jupyter-notebook
Scipy 2016 Sklearn
Scikit-learn tutorial at SciPy2016
Stars: ✭ 508 (-0.2%)
Mutual labels:  jupyter-notebook

Python Quick Reference

View as a Python script or a Jupyter notebook

This is the reference guide to Python that I wish had existed when I was learning the language.

Here's what I want in a reference guide:

  • High-quality examples that show the simplest possible usage of a given feature
  • Explanatory comments, and descriptive variable names that eliminate the need for some comments
  • Presented as a single script (or notebook), so that I can keep it open and search it when needed
  • Code that can be run from top to bottom, with the relevant objects defined nearby

This is not written as a full-fledged Python tutorial, though I ordered the topics such that you can read it like a tutorial (i.e., each topic depends only on material preceding it).

The guide was written using Python 2 but is fully compatible with Python 3. Relevant differences between Python 2 and 3 are noted throughout the guide.

Table of Contents

Click to jump to the relevant section of the script or the notebook:

  1. Imports (script, notebook)
  2. Data Types (script, notebook)
  3. Math (script, notebook)
  4. Comparisons and Boolean Operations (script, notebook)
  5. Conditional Statements (script, notebook)
  6. Lists (script, notebook)
  7. Tuples (script, notebook)
  8. Strings (script, notebook)
  9. Dictionaries (script, notebook)
  10. Sets (script, notebook)
  11. Defining Functions (script, notebook)
  12. Anonymous (Lambda) Functions (script, notebook)
  13. For Loops and While Loops (script, notebook)
  14. Comprehensions (script, notebook)
  15. Map and Filter (script, notebook)

Other Python Resources

If you like the general format of this guide, but need more explanation of each topic, I highly recommend reading the Appendix of Python for Data Analysis. It presents the essentials of the Python language in a clear and focused manner.

If you are looking for a resource that will help you to learn Python from scratch, this is my list of recommended resources.

Suggestions or Corrections

If there's a topic or example you'd like me to add to this guide, or you notice a mistake, please create a GitHub issue or leave a blog comment.

Thank you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].