All Projects → gpetepg → Python_tips

gpetepg / Python_tips

Licence: mit
Some Python tips for beginner to intermediate users. Also used as a personal cheat sheet. Featured here https://bit.ly/2ZaV4Pl

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Python tips

Data Science Hacks
Data Science Hacks consists of tips, tricks to help you become a better data scientist. Data science hacks are for all - beginner to advanced. Data science hacks consist of python, jupyter notebook, pandas hacks and so on.
Stars: ✭ 273 (+103.73%)
Mutual labels:  jupyter-notebook, tips-and-tricks
Basic Mathematics For Machine Learning
The motive behind Creating this repo is to feel the fear of mathematics and do what ever you want to do in Machine Learning , Deep Learning and other fields of AI
Stars: ✭ 300 (+123.88%)
Mutual labels:  jupyter-notebook, beginner
Algobook
A beginner-friendly project to help you in open-source contributions. Data Structures & Algorithms in various programming languages Please leave a star ⭐ to support this project! ✨
Stars: ✭ 132 (-1.49%)
Mutual labels:  jupyter-notebook, beginner
Srn multilabel
Stars: ✭ 132 (-1.49%)
Mutual labels:  jupyter-notebook
Deep Listening
Deep Learning experiments for audio classification
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Fastdoc
Create publication-quality books from Jupyter notebooks
Stars: ✭ 134 (+0%)
Mutual labels:  jupyter-notebook
Code With Ai
Interface for people to use my model which predicts which techniques one should use to solve a competitive programming problem to get an AC
Stars: ✭ 134 (+0%)
Mutual labels:  jupyter-notebook
Spark Tpc Ds Performance Test
Use the TPC-DS benchmark to test Spark SQL performance
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Readata
Python数据分析实战项目汇总~
Stars: ✭ 134 (+0%)
Mutual labels:  jupyter-notebook
Computational Statistics With Python
Resources for STA 633 class
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Poppy Ergo Jr
🤖 Poppy Ergo Jr is an open-source robotic arm based on modular 3D printed conception and low-cost XL-320 motors.
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Clockwork Fcn
Clockwork Convnets for Video Semantic Segmenation
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Tplinker Joint Extraction
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Pytorch Tutorials
Pytorch tutorials for Neural Style transfert
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Depth Hints
[ICCV 2019] Depth Hints are complementary depth suggestions which improve monocular depth estimation algorithms trained from stereo pairs
Stars: ✭ 134 (+0%)
Mutual labels:  jupyter-notebook
Yolo Powered robot vision
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Bcs workshop apr 20
Workshop on basic machine learning, computational modeling, psychophysics, basic data analysis and experiment design
Stars: ✭ 134 (+0%)
Mutual labels:  jupyter-notebook
Dataminingnotebooks
This is a collection of iPython notebooks from my course on data mining. Data used in the notebooks can be downloaded from the given links in the notebooks.
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook
Laplacians.jl
Algorithms inspired by graph Laplacians: linear equation solvers, sparsification, clustering, optimization, etc.
Stars: ✭ 132 (-1.49%)
Mutual labels:  jupyter-notebook
Streaming Demos
Demos of Plotly's Real-time Streaming API
Stars: ✭ 133 (-0.75%)
Mutual labels:  jupyter-notebook

=========== Python Tips

These tips are for beginner to intermediate Pythonistas who have a bit of experience with the language. I focused on general Python tips that I think are good to know.

Please clone or fork, the notebooks are meant to be interacted with. The TOC do not work on GitHib.

If the page notebooks won't load on GitHub view them here:

  • Python Tips <https://nbviewer.jupyter.org/github/gpetepg/python_tips/blob/master/python_tips.ipynb/>_.
  • Built-In-Libraries <https://nbviewer.jupyter.org/github/gpetepg/python_tips/blob/master/built_in_library_tips.ipynb/>_.

Note that these were written in Python 3 (3.6)

These files are .ipynb. It is a notebook document used by Jupyter Notebook, an interactive computational environment designed to help scientists work with the Python language (as well as many others e.g. R, Julia, Ruby, JavaScript).

I suggest downloading Anaconda <https://www.anaconda.com/>_. Anaconda is a free and open source distribution of the Python and R programming languages that aims to simplify package management and deployment. Jupyter Notebook is included in Anaconda.

I've included an inline python tutor <http://www.pythontutor.com/>_. Just uncomment it and run the cell to use.

Please feel free to contribute, critique and comment.


These tips are for beginner to intermediate Pythonistas who have a bit of experience with the language. I focused on general Python tips I think that are good to know.

General Tips:

Topics

  • Additional Operators
  • Global
  • Enumerate
  • Comprehension; List, Set, Dict

Functions and Classes Topics:

Functions

  • Generators
  • Args and Kwargs
  • Lambda Functions
  • Mutable Parameters
  • Decorators
  • Recursion Classes
  • Class Inheritance
  • "Private Methods"
  • Str and Repr
  • Static and Class Methods
  • Method Chaining
  • Property Decorators; Getters, Setters, Deleters

Built-In Functions and Libraries Topics:

Functions

  • Map
  • Filter
  • Zip
  • Print Formatting
  • Multiline comments
  • Formatting
  • Str and Repr Libraries
  • Itertools
  • Infinite Itorators
  • Iterators Terminating On The Shortest Input Sequence
  • Combinatoric Iterators
  • Collections
  • Functools
  • Datetime
  • OS

Random Tips:

  • Random assortment of tips that did not fit the other notebooks
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].