Codecademy Python Cheat Sheet



  • Taking a vacation

    Lesson 01/07 – Before We BeginLesson 02/07 – Planning Your TripLesson 03/07 – Getting ThereLesson 04/07 – TransportationLesson 05/07 – Pull it TogetherLesson 06/07 – Hey, You Never Know!Lesson 07/07 – Plan Your Trip! Lesson 01/07 – Before We Begin […]
    Read More
  • Functions

    Lesson 01/19 – What Good are Functions?!Lesson 02/19 – Function Junction Define your spam function starting on line 5. Youcan leave the code on line 11 alone for now–we’llexplain it soon!Define the spam function above this line.Lesson 03/19 – Call […]
    Read More
  • Date and Time

    Lesson 01/06 – The datetime LibraryLesson 02/06 – Getting the Current Date and TimeLesson 03/06 – Extracting InformationLesson 04/06 – Hot DateLesson 05/06 – Pretty TimeLesson 06/06 – Grand Finale Lesson 01/06 – The datetime Library [code lang=”python”] from datetime […]
    Read More
  • Strings & Console Output

    Lesson 01/16 – StringsSet the variable brian on line 3!Lesson 02/16 – PracticeAssign your variables below, each on its own line!Put your variables above this lineLesson 03/16 – Escaping charactersThe string below is broken. Fix it using the escape backslash!Lesson […]
    Read More
  • Tip Calculator

    Lesson 01/05 – The MealAssign the variable meal the value 44.50 on line 3!Lesson 02/05 – The TaxLesson 03/05 – The TipYou’re almost there! Assign the tip variable on line 5.Lesson 04/05 – Reassign in a Single LineReassign meal on […]
    Read More
  • PygLatin

    Lesson 01/11 – Break It DownLesson 02/11 – Ahoy! (or Should I Say Ahoyay!)Lesson 03/11 – Input!Lesson 04/11 – Check Yourself!Lesson 05/11 – Check Yourself… Some MoreLesson 06/11 – Pop Quiz!Lesson 07/11 – Ay B CLesson 08/11 – Word UpLesson […]
    Read More
  • Python Syntax

    Lesson 01/13 – Welcome!Lesson 02/13 – VariablesWrite your code below!Lesson 03/13 – BooleansSet the variables to the values listed in the instructions!Lesson 04/13 – You’ve Been Reassignedmy_int is set to 7 below. What do you thinkwill happen if we reset […]
    Read More
  • Conditionals & Control Flow

    Lesson 01/15 – Go With The FlowLesson 02/15 – Compare Closely!Lesson 03/15 – Compare… Closelier!Lesson 04/15 – How the Tables Have TurnedLesson 05/15 – To Be and/or Not to BeLesson 06/15 – AndLesson 07/15 – OrLesson 08/15 – NotLesson 09/15 […]
    Read More
  1. Python List Cheat Sheet
  2. Codecademy Python Cheat Sheet

Python 3 Beginner's Reference Cheat Sheet Special characters # comentand new lineor scape char dict.get Numeric operators + addition - subtraction. multiplication / division. exponent% modulus // floor division Boolean operators equal!= different higher = higher or equal. Python Cheat Sheets Python Cheat Sheets Table of contents. Python 3 Libraries Debugger Decorators Pip Python 2. Codecademy Python Learn Python the Hard Way.

Data Mining¶

  • Data Mining. PDF only.

Importing Data¶

  • Importing Data. PDF.

Keras¶

  • Keras. PDF.

Linear Algebra (with Numpy)¶

  • Linear Algebra. PDF only.
  • SciPy Linear Algebra. PDF.

Machine Learning¶

  • Machine Learning. PDF only.

    • Supervised Learning;
    • Unsupervised Learning;
    • Deep Learning;
    • Machine Learning Tips and Tricks;
    • Probabilities and Statistics;
    • Linear Algebra and Calculus.
  • Super pense-bête Machine Learning. PDF only.

  • Microsoft Azure Machine Learning. PDF.


  • scikit-learn. PDF.


.

Numpy¶

  • NumPy/SciPy/Pandas Cheat Sheet. PDF.


  • Numpy. PDF.

Pandas¶

  • Pandas DataFrame Notes. PDF only.
  • Pandas. PDF.

  • Pandas. PDF.

  • Data Wrangling with Pandas. PDF.


Sheet

Spark¶

  • PySpark. PDF.

  • PySpark SQL. PDF.

Visualization¶

Bokeh¶

  • Bokeh. PDF.

Folium¶

  • Folium. PDF.

Matplotlib¶

  • Matplotlib Notes. PDF only.
  • Matplotlib. PDF.

Plotly¶

Python List Cheat Sheet

  • Plotly. PDF only.

Seaborn¶

  • Seaborn. PDF.

Codecademy Python Cheat Sheet