Skip to content

This repository contains Jupyter notebooks with comment lines, comment cells and outputs that explain the functionality of different libraries in Python. These 'cheat sheets' include basic Python programming, Numpy, Pandas, Matplotlib, Seaborn and more. I hope it guides you to start your programming experience! Below you have more details of the…

Notifications You must be signed in to change notification settings

antoniodagnino/PythonTraining

Repository files navigation

PythonTraining

This repository contains Jupyter notebooks with comment lines, comment cells and outputs that explain the functionality of different libraries in Python. These 'cheat sheets' include basic Python programming, Numpy, Pandas, Matplotlib, Seaborn and more. I hope it guides you to start your programming experience! Below you have more details of the content.

1. Cheat Sheet Antonio Dagnino (Lists, Strings, Dictionaries, Loops, text Files, os library)

Content:

  • Arithmetic
    • Math library
    • Formatting
  • Lists
    • Mutability
    • Slice notation
    • append a value
    • insert a value (needs an index)
    • extend (merges one list)
    • pop (remove value from list)
    • len
    • range
    • sort
    • reverse
  • Strings
    • Docstrings
    • Escape Sequences
    • String Concatenation
    • Character Sets (ASCII)
    • Print datetime using f-string format
  • Dictionaries
    • General operations
    • Get a dictionary of unique values from a text (create a SET object)
    • use dictionary to count repeated elements with SET and without SET
  • Loops
    • Augmented Assignment
    • Calculator: Convert numbers from binary, octal or any other system to decimal
  • Text Files
  • os library
    • Create Folder
    • Rename Folder
    • Search folders
    • Remove Folders

2. Cheat Sheet Antonio Dagnino (Functions and classes)

  • Functions
    • Abstraction Mechanisms
      • Eliminating Redundancy
      • Systematic variations
    • main function
  • Classes
    • help
    • init method
    • Objects
    • Instance variable
    • Atttributes
    • Methods
    • dict method
    • str method
    • Types of Methods
    • Inheritance

3. Cheat Sheet Antonio Dagnino - NUMPY

  • Create Arrays and Grids
    • One dimension array
    • Two dimension array
    • Zeros array
    • Ones array
    • X value array
    • Eye Matrix (identity matrix)
    • Create arrays using a range
    • Create array with linear interpolation
    • Create array with random numbers
  • Get Attributes
    • Dimension of array
    • shape of array
    • Data type inside array
    • Size of the array
  • shape manipulation -Re-shape
  • Operations with Numpy
    • Sum, substract, divide, multiply
    • Sort
    • Concatenate
    • Sum, mean, min and max functions
    • Indexing and slicing
    • Copy
    • Save
    • Save as txt or csv
    • Load
    • Conditionals
    • Unique function
  • Broadcasting

4. Cheat Sheet Antonio Dagnino - PANDAS

  • Create DF
    • Create Dummy DF
    • Copy DF to another variable
    • add / drop columns
    • Re-order / Re-name columns
    • add / drop rows
    • delete df
  • Visualize df
    • Header and Tail
    • Columns
    • info
    • describe
    • Correlation
    • unique values
    • Sort data / Specific order of elements in columns
    • Slice Columns
    • Show data based on conditions
    • Group By
  • Modify Data
    • Replace
    • Map
    • get dummies
    • Missing Data
    • astype
    • interpolate
    • lambda expression with datetime
  • Plotting with Pandas

5. Cheat Sheet Antonio Dagnino - MATPLOTLIB

Coming soon!

6. Cheat Sheet Antonio Dagnino - SEABORN

  • Create Dummy DF
  • Pairplot
  • barplot
  • heatmap
  • heatmap - quick way to plot missing data in dataframe
  • More coming soon

7. Cheat Sheet Antonio Dagnino - Time Series Data

  • DateTime Index Basics
  • Time Resampling
  • Time Shifting
  • Rolling and Expanding
  • Time Series Visualization

8. Cheat Sheet Antonio Dagnino - STATSMODEL

  • DateTime Index Basics
  • Time Resampling
  • Time Shifting
  • Rolling and Expanding
  • Time Series Visualization

About

This repository contains Jupyter notebooks with comment lines, comment cells and outputs that explain the functionality of different libraries in Python. These 'cheat sheets' include basic Python programming, Numpy, Pandas, Matplotlib, Seaborn and more. I hope it guides you to start your programming experience! Below you have more details of the…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published