Creating Tables with PrettyTable
πΈPrettyTable is a simple Python library designed to make it easy to represent tabular data in nice and neat ASCII tables.
βοΈInstallation
You can add columns as well by using the
πGitHub
#prettytable
πΈPrettyTable is a simple Python library designed to make it easy to represent tabular data in nice and neat ASCII tables.
βοΈInstallation
pip install prettytable
PrettyTable class, provided by this library, allows you to create such a tables. To add a new row to a table, simply set the field names of your table using the field_names
attribute, and then add rows using the add_row()
method.You can add columns as well by using the
add_column()
method, which takes two arguments: the column name and a list or tuple which contains the column data.πGitHub
#prettytable
Neural Networks πΊ
This playlist has everything you need to know about Neural Networks, from the basics, all the way to image classification with Convolutional Neural Networks.
1. Neural Networks Pt. 1: Inside the Black Box [YouTube]
2. The Chain Rule [YouTube]
3. Gradient Descent, Step-by-Step [YouTube]
4. Neural Networks Pt. 2: Backpropagation Main Ideas [YouTube]
5. Backpropagation Details Pt. 1: Optimizing 3 parameters simultaneously. [YouTube]
...
13. Neural Networks Part 8: Image Classification with Convolutional Neural Networks [YouTube]
πFull YouTube playlist
#materials #machinelearning #neuralnetworks
This playlist has everything you need to know about Neural Networks, from the basics, all the way to image classification with Convolutional Neural Networks.
1. Neural Networks Pt. 1: Inside the Black Box [YouTube]
2. The Chain Rule [YouTube]
3. Gradient Descent, Step-by-Step [YouTube]
4. Neural Networks Pt. 2: Backpropagation Main Ideas [YouTube]
5. Backpropagation Details Pt. 1: Optimizing 3 parameters simultaneously. [YouTube]
...
13. Neural Networks Part 8: Image Classification with Convolutional Neural Networks [YouTube]
πFull YouTube playlist
#materials #machinelearning #neuralnetworks
Python Data Validation for Humans
πΈValidators is a simple validation library where validating a value does not require defining a form or a schema.
βοΈInstallation
πGitHub
πDocs
#validators
πΈValidators is a simple validation library where validating a value does not require defining a form or a schema.
βοΈInstallation
pip install validatorsThe library allows you to validate emails, urls, and more specific strings including ipv4/ipv6, slug etc. Each validator is a simple function that takes the value to validate and possibly some additional key-value arguments. Each function returns
True
when validation succeeds and ValidationFailure
object when validation fails.πGitHub
πDocs
#validators
What is the output of the code given above?
Anonymous Quiz
8%
False False
47%
True False
29%
True True
16%
False True
Super Lightweight Web-framework
πΈBottle is a fast and simple WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.
βοΈInstallation
πDocs
πGitHub
#bottle #web
πΈBottle is a fast and simple WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.
βοΈInstallation
pip install bottle
Bottle is perfect for small web applications and rapid prototyping. Itβs also an excellent learning tool for those just getting starting with web development. To create a working web page just run the example code above, then point your browser to http://localhost:8080/hello/world
and that's it.πDocs
πGitHub
#bottle #web
What is the output of the code given above?
Anonymous Quiz
48%
'lll' 'iii' 'sss' 'ttt'
12%
'l' 'i' 's' 't'
34%
0 1 2 3
7%
1 2 3 4
Beginner's Python Cheat Sheets π
"Beginner's Python Cheat Sheets" by Eric Matthes is a collection of cheat sheets which have short descriptions of each major concept, brief explanations of how and why we use them, and short code snippets that show the relevant syntax. They also include hints about how to think about different aspects of programming and helpful links to other resources.
πΎ Download
#materials #cheatsheet
"Beginner's Python Cheat Sheets" by Eric Matthes is a collection of cheat sheets which have short descriptions of each major concept, brief explanations of how and why we use them, and short code snippets that show the relevant syntax. They also include hints about how to think about different aspects of programming and helpful links to other resources.
πΎ Download
#materials #cheatsheet
What is the output of the code given above?
Anonymous Quiz
7%
11
10%
13
35%
33
6%
23
4%
21
37%
Error
Image To Text
πΈPython-tesseract is an optical character recognition (OCR) tool for python. With this library you can easily detect and extract the text embedded in images.
βοΈInstallation
Windows:
1. pip install pytesseract
2. Download Tesseract OCR here and install it.
3. Add tesseract installation path to PATH environment variable (here's a video in case you get stuck).
Linux:
sudo apt-get update
sudo apt-get install tesseract-ocr
sudo apt-get install libtesseract-dev
Python-tesseract can read all image types supported by the Pillow and Leptonica imaging libraries, including jpeg, png, gif, bmp, tiff, and others. Additionally, if used as a script, Python-tesseract will print the recognized text instead of writing it to a file. You can also work with multiple languages not only with English!
πGitHub
#pytesseract #OCR
πΈPython-tesseract is an optical character recognition (OCR) tool for python. With this library you can easily detect and extract the text embedded in images.
βοΈInstallation
Windows:
1. pip install pytesseract
2. Download Tesseract OCR here and install it.
3. Add tesseract installation path to PATH environment variable (here's a video in case you get stuck).
Linux:
sudo apt-get update
sudo apt-get install tesseract-ocr
sudo apt-get install libtesseract-dev
Python-tesseract can read all image types supported by the Pillow and Leptonica imaging libraries, including jpeg, png, gif, bmp, tiff, and others. Additionally, if used as a script, Python-tesseract will print the recognized text instead of writing it to a file. You can also work with multiple languages not only with English!
πGitHub
#pytesseract #OCR
Pandas Tutorials πΊ
Pandas is a data analysis library that allows you to easily work with different types of data. If you're getting into the data science field, then this library is going to be essential to learn.
1. Getting Started with Data Analysis - Installation and Loading Data [YouTube]
2. DataFrame and Series Basics - Selecting Rows and Columns [YouTube]
3. Indexes - How to Set, Reset, and Use Indexes [YouTube]
4. Filtering - Using Conditionals to Filter Rows and Columns [YouTube]
5. Updating Rows and Columns - Modifying Data Within DataFrames [YouTube]
...
11. Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc [YouTube]
πFull YouTube playlist
#materials #pandas #dataanalysis
Pandas is a data analysis library that allows you to easily work with different types of data. If you're getting into the data science field, then this library is going to be essential to learn.
1. Getting Started with Data Analysis - Installation and Loading Data [YouTube]
2. DataFrame and Series Basics - Selecting Rows and Columns [YouTube]
3. Indexes - How to Set, Reset, and Use Indexes [YouTube]
4. Filtering - Using Conditionals to Filter Rows and Columns [YouTube]
5. Updating Rows and Columns - Modifying Data Within DataFrames [YouTube]
...
11. Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc [YouTube]
πFull YouTube playlist
#materials #pandas #dataanalysis
What is the output of the code given above?
Anonymous Quiz
13%
! !
28%
execute
9%
!
11%
2
38%
execute execute
The easiest way to prepare data in Python
πΈDataPrep is an open-source python library that allows you to prepare your data with just a few lines of code.
βοΈInstallation
1. DataPrep.Connector β API wrapper that speeds up development by standardizing calls to multiple APIs as a simple workflow. Basically, it allows you to collect data from common data sources.
2. DataPrep.EDA allows you to perform Exploratory Data Analysis with a few lines of code in seconds.
3. DataPrep.Clean aims to provide a large number of functions with a unified interface for cleaning and standardizing data of various semantic types in a Pandas or Dask DataFrame.
πGitHub
πDocs
#dataprep #datascience
πΈDataPrep is an open-source python library that allows you to prepare your data with just a few lines of code.
βοΈInstallation
pip install dataprep
The library consists of 3 main modules:1. DataPrep.Connector β API wrapper that speeds up development by standardizing calls to multiple APIs as a simple workflow. Basically, it allows you to collect data from common data sources.
2. DataPrep.EDA allows you to perform Exploratory Data Analysis with a few lines of code in seconds.
3. DataPrep.Clean aims to provide a large number of functions with a unified interface for cleaning and standardizing data of various semantic types in a Pandas or Dask DataFrame.
πGitHub
πDocs
#dataprep #datascience