Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
5 views9 pages

Python Libraries

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views9 pages

Python Libraries

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Python Libraries

What is a Library?
• A library is a collection of precompiled codes that can be used later
on in a program for some specific well-defined operations.
• A collection of related modules.
• Contains bundles of code that can be used repeatedly in different
programs.
• It makes Python Programming simpler and convenient for the
programmer.
Working of Python Library
• The library files have a DLL extension (Dynamic Load Libraries). [In
MS Windows]
• When we link a library with our program and run that program, the
linker automatically searches for that library.
• It extracts the functionalities of that library and interprets the
program accordingly.
• The methods/functions in the library are used in the program.
Python Standard Library
1) TensorFlow
2) Matplotlib
3) Pandas
4) Numpy
5) SciPy
6) Scrapy
7) Scikit-learn
8) PyGame
9) PyTorch
TensorFlow, Matplotlib

1. TensorFlow: This library was developed by Google in collaboration with the


Brain Team.

- It is an open-source library used for high-level computations, machine


learning and deep learning algorithms.

- Researchers also use this Python library to solve complex computations


in Mathematics and Physics.

2. Matplotlib: This library is responsible for plotting numerical data.

- It is also an open-source library and plots high-defined figures like pie


charts, histograms, scatterplots, graphs, etc.
Pandas & NumPy
3. Pandas: An important library for data scientists.

- An open-source machine learning library that provides flexible high-level


data structures and a variety of analysis tools like data analysis, data
manipulation, and cleaning of data.

- Support operations like Sorting, Re-indexing, Iteration, Concatenation,


Conversion of data, Visualizations, Aggregations, etc.

4. Numpy: “Numerical Python”.

-A popular machine learning library that supports large matrices and


multi-dimensional data.

- Consists of in-built mathematical functions for easy computations.


SciPy & Scrapy
5. SciPy: The name “SciPy” stands for “Scientific Python”.
- It is an open-source library used for high-level scientific
computations & built over an extension of Numpy to handle complex
computations.
- It is also widely used by application developers and engineers.
6. Scrapy: An open-source library that is used for extracting data from
websites through web crawling and high-level screen scraping.
- It can also be used for data mining and automated testing of
data.
Scikit-learn & PyBrain
7. Scikit-learn: It is a famous Python library to work with complex data.
- Scikit-learn is an open-source library that supports machine
learning.
- It supports variously supervised and unsupervised algorithms like
linear regression, classification, clustering, etc.
- This library works in association with Numpy and SciPy.
8. PyBrain: The name “PyBrain” stands for Python Based Reinforcement
Learning, Artificial Intelligence, and Neural Networks library.
It is an open-source library built for beginners in the field of
Machine Learning.
It provides fast and easy-to-use algorithms for machine learning
tasks.
It is so flexible and easily understandable and that’s why is really
helpful for developers that are new in research fields.
An example of Python Library
• # Importing math library
• import math

• A = 16
• print(math.sqrt(A))

You might also like