SlideShare a Scribd company logo
1 of 17
Python Libraries
Presented By
Nellaiammal S
Junior Engineer
Agenda
1. Python
2. Introduction to Python Libraries
3. Features of Python Libraries
4. Popular Python Libraries
5. Matplotlib
6. Numpy
7. How to install and import Python Libraries?
8. Conclusion and Resources
Python
Python is a high-level programming language known for its simplicity and
readability.
Features of python:
1. Easy to learn syntax
2. Interpreted language
3. High level language
4. Dynamic typing
5. Large standard library
6. Versatility
Introduction to Python
libraries
Python libraries are collections of pre-written code that provide a wide
range of functionality, from data analysis to web development and
machine learning.
Features of Python libraries
1 Extensive
Functionality
Python libraries offer
extensive functionality to
perform various tasks,
making it a versatile
programming language.
2 Reusability
They allow for code
reuse, enabling
developers to save time
and effort in writing
programs by using
existing modules and
libraries.
3 Community
Contributions
Contributions from a
supportive community
ensure a broad array of
high-quality libraries
available for various
purposes.
Popular Python libraries for Data
Analysis
Pandas
A powerful data manipulation and analysis
library, widely used for handling structured data.
NumPy
An essential library for scientific computing and
numerical operations, including support for large,
multi-dimensional arrays.
Popular Python libraries for Web
Development
Django
A high-level web framework known for its clean
design and efficient handling of web
development tasks.
Matplotlib
A comprehensive library for creating static,
animated, and interactive visualizations in
Python.
Popular Python libraries for Machine
Learning
TensorFlow
An open-source software library for dataflow and
differentiable programming across a range of
tasks.
Scikit-learn
It provides tools for machine learning, including
algorithms, models, and preprocessing
techniques.
Matplotlib
Matplotlib is a popular Python library used for creating static, interactive, and animated visualizations in
Python. It provides a wide variety of plotting functions and customization options, making it suitable for a
broad range of data visualization tasks.
Features:
• Plotting
• Customization
• Multiple plotting styles
• Animation
• Wide adoption and community support
Example:
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5] y = [2, 3, 5, 7, 11]
fig, ax = plt.subplots()
ax.plot(x, y)
ax.set_title('Simple Line Plot') ax.set_xlabel('X-axis') ax.set_ylabel('Y-
axis')
plt.show()
Output:
The plt.subplots() function is used to create a new figure (fig) and axis (ax). A figure represents the
entire window or page where the plot is drawn, while an axis represents an individual plot within the
figure.
The ax.plot() method is called to plot the data x against y.
The ax.set_title(), ax.set_xlabel(), and ax.set_ylabel() methods are used to customize the
plot by setting a title, x-axis label, and y-axis label, respectively.
Finally, the plt.show() function is called to display the plot on the screen.
Numpy
NumPy is a powerful library for numerical computing in Python, providing essential data structures and
functions for performing a wide range of numerical computations efficiently. It is widely used in various
fields such as scientific computing, engineering, machine learning, data analysis, and more.
Features:
• Multi dimensional arrays
• Efficient numerical operations
• Indexing and slicing
• Random number generation
• Memory efficiency and performance
Example:
import numpy as np
arr1 = np.array( [1, 2, 3, 4, 5] )
result_addition = arr1 + 10
result_subtraction = arr1 - 3
result_multiplication = arr1 * 2
result_division = arr1 / 2
print(arr1)
print(result_addition)
print(result_subtraction)
print(result_multiplication)
print(result_division)
Output:
• We first import NumPy as np.
• We create a NumPy array, arr1 , using the np.array() function.
• We perform basic arithmetic operations (addition, subtraction, multiplication, and division) on
arr1.
How to install and import Python
libraries
Install Using pip
Python libraries can be installed using the pip package manager, with simple commands
like pip install library-name.
Import in Python Code
After installation, libraries can be imported into Python code using the import statement,
such as import library-name.
Conclusion
Python libraries play a crucial role in enabling developers to efficiently tackle a wide range of tasks
across different domains. Throughout this presentation, we've explored several essential Python libraries
and their applications.
Whether you're analyzing data, building machine learning models, creating visualizations, or developing
web applications, Python libraries provide the tools you need to succeed.
Python continues to empower developers worldwide to innovate and solve real-world problems. Embrace
Python libraries, and unlock the full potential of your projects.
Python-Libraries,Numpy,Pandas,Matplotlib.pptx

More Related Content

Similar to Python-Libraries,Numpy,Pandas,Matplotlib.pptx

pythonlibrariesandmodules-210530042906.docx
pythonlibrariesandmodules-210530042906.docxpythonlibrariesandmodules-210530042906.docx
pythonlibrariesandmodules-210530042906.docxRameshMishra84
 
Travis Oliphant "Python for Speed, Scale, and Science"
Travis Oliphant "Python for Speed, Scale, and Science"Travis Oliphant "Python for Speed, Scale, and Science"
Travis Oliphant "Python for Speed, Scale, and Science"Fwdays
 
Basic of python for data analysis
Basic of python for data analysisBasic of python for data analysis
Basic of python for data analysisPramod Toraskar
 
Python for Machine Learning(MatPlotLib).pptx
Python for Machine Learning(MatPlotLib).pptxPython for Machine Learning(MatPlotLib).pptx
Python for Machine Learning(MatPlotLib).pptxDr. Amanpreet Kaur
 
Introduction to Pylab and Matploitlib.
Introduction to Pylab and Matploitlib. Introduction to Pylab and Matploitlib.
Introduction to Pylab and Matploitlib. yazad dumasia
 
Introduction to Machine Learning by MARK
Introduction to Machine Learning by MARKIntroduction to Machine Learning by MARK
Introduction to Machine Learning by MARKMRKUsafzai0607
 
Government Polytechnic Arvi-1.pptx
Government Polytechnic Arvi-1.pptxGovernment Polytechnic Arvi-1.pptx
Government Polytechnic Arvi-1.pptxShivamDenge
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonMohammed Rafi
 
prakash ppt (2).pdf
prakash ppt (2).pdfprakash ppt (2).pdf
prakash ppt (2).pdfShivamKS4
 
Introduction_to_Python.pptx
Introduction_to_Python.pptxIntroduction_to_Python.pptx
Introduction_to_Python.pptxVinay Chowdary
 
Python for Data Science: A Comprehensive Guide
Python for Data Science: A Comprehensive GuidePython for Data Science: A Comprehensive Guide
Python for Data Science: A Comprehensive Guidepriyanka rajput
 
Python and Pytorch tutorial and walkthrough
Python and Pytorch tutorial and walkthroughPython and Pytorch tutorial and walkthrough
Python and Pytorch tutorial and walkthroughgabriellekuruvilla
 
Python programming language introduction unit
Python programming language introduction unitPython programming language introduction unit
Python programming language introduction unitmichaelaaron25322
 
Machine learning libraries with python
Machine learning libraries with pythonMachine learning libraries with python
Machine learning libraries with pythonVishalBisht9217
 

Similar to Python-Libraries,Numpy,Pandas,Matplotlib.pptx (20)

pythonlibrariesandmodules-210530042906.docx
pythonlibrariesandmodules-210530042906.docxpythonlibrariesandmodules-210530042906.docx
pythonlibrariesandmodules-210530042906.docx
 
Travis Oliphant "Python for Speed, Scale, and Science"
Travis Oliphant "Python for Speed, Scale, and Science"Travis Oliphant "Python for Speed, Scale, and Science"
Travis Oliphant "Python for Speed, Scale, and Science"
 
Python for ML.pptx
Python for ML.pptxPython for ML.pptx
Python for ML.pptx
 
Basic of python for data analysis
Basic of python for data analysisBasic of python for data analysis
Basic of python for data analysis
 
Report om 3
Report om 3Report om 3
Report om 3
 
Python for Machine Learning(MatPlotLib).pptx
Python for Machine Learning(MatPlotLib).pptxPython for Machine Learning(MatPlotLib).pptx
Python for Machine Learning(MatPlotLib).pptx
 
Introduction to Pylab and Matploitlib.
Introduction to Pylab and Matploitlib. Introduction to Pylab and Matploitlib.
Introduction to Pylab and Matploitlib.
 
Shivam PPT.pptx
Shivam PPT.pptxShivam PPT.pptx
Shivam PPT.pptx
 
Introduction to Machine Learning by MARK
Introduction to Machine Learning by MARKIntroduction to Machine Learning by MARK
Introduction to Machine Learning by MARK
 
Government Polytechnic Arvi-1.pptx
Government Polytechnic Arvi-1.pptxGovernment Polytechnic Arvi-1.pptx
Government Polytechnic Arvi-1.pptx
 
Session 2
Session 2Session 2
Session 2
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
prakash ppt (2).pdf
prakash ppt (2).pdfprakash ppt (2).pdf
prakash ppt (2).pdf
 
Introduction_to_Python.pptx
Introduction_to_Python.pptxIntroduction_to_Python.pptx
Introduction_to_Python.pptx
 
Python for Data Science: A Comprehensive Guide
Python for Data Science: A Comprehensive GuidePython for Data Science: A Comprehensive Guide
Python for Data Science: A Comprehensive Guide
 
Python Científico
Python CientíficoPython Científico
Python Científico
 
Python and Pytorch tutorial and walkthrough
Python and Pytorch tutorial and walkthroughPython and Pytorch tutorial and walkthrough
Python and Pytorch tutorial and walkthrough
 
Python programming language introduction unit
Python programming language introduction unitPython programming language introduction unit
Python programming language introduction unit
 
Machine learning libraries with python
Machine learning libraries with pythonMachine learning libraries with python
Machine learning libraries with python
 
Python ml
Python mlPython ml
Python ml
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Python-Libraries,Numpy,Pandas,Matplotlib.pptx

  • 2. Agenda 1. Python 2. Introduction to Python Libraries 3. Features of Python Libraries 4. Popular Python Libraries 5. Matplotlib 6. Numpy 7. How to install and import Python Libraries? 8. Conclusion and Resources
  • 3. Python Python is a high-level programming language known for its simplicity and readability. Features of python: 1. Easy to learn syntax 2. Interpreted language 3. High level language 4. Dynamic typing 5. Large standard library 6. Versatility
  • 4. Introduction to Python libraries Python libraries are collections of pre-written code that provide a wide range of functionality, from data analysis to web development and machine learning.
  • 5. Features of Python libraries 1 Extensive Functionality Python libraries offer extensive functionality to perform various tasks, making it a versatile programming language. 2 Reusability They allow for code reuse, enabling developers to save time and effort in writing programs by using existing modules and libraries. 3 Community Contributions Contributions from a supportive community ensure a broad array of high-quality libraries available for various purposes.
  • 6. Popular Python libraries for Data Analysis Pandas A powerful data manipulation and analysis library, widely used for handling structured data. NumPy An essential library for scientific computing and numerical operations, including support for large, multi-dimensional arrays.
  • 7. Popular Python libraries for Web Development Django A high-level web framework known for its clean design and efficient handling of web development tasks. Matplotlib A comprehensive library for creating static, animated, and interactive visualizations in Python.
  • 8. Popular Python libraries for Machine Learning TensorFlow An open-source software library for dataflow and differentiable programming across a range of tasks. Scikit-learn It provides tools for machine learning, including algorithms, models, and preprocessing techniques.
  • 9. Matplotlib Matplotlib is a popular Python library used for creating static, interactive, and animated visualizations in Python. It provides a wide variety of plotting functions and customization options, making it suitable for a broad range of data visualization tasks. Features: • Plotting • Customization • Multiple plotting styles • Animation • Wide adoption and community support
  • 10. Example: import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5] y = [2, 3, 5, 7, 11] fig, ax = plt.subplots() ax.plot(x, y) ax.set_title('Simple Line Plot') ax.set_xlabel('X-axis') ax.set_ylabel('Y- axis') plt.show()
  • 11. Output: The plt.subplots() function is used to create a new figure (fig) and axis (ax). A figure represents the entire window or page where the plot is drawn, while an axis represents an individual plot within the figure. The ax.plot() method is called to plot the data x against y. The ax.set_title(), ax.set_xlabel(), and ax.set_ylabel() methods are used to customize the plot by setting a title, x-axis label, and y-axis label, respectively. Finally, the plt.show() function is called to display the plot on the screen.
  • 12. Numpy NumPy is a powerful library for numerical computing in Python, providing essential data structures and functions for performing a wide range of numerical computations efficiently. It is widely used in various fields such as scientific computing, engineering, machine learning, data analysis, and more. Features: • Multi dimensional arrays • Efficient numerical operations • Indexing and slicing • Random number generation • Memory efficiency and performance
  • 13. Example: import numpy as np arr1 = np.array( [1, 2, 3, 4, 5] ) result_addition = arr1 + 10 result_subtraction = arr1 - 3 result_multiplication = arr1 * 2 result_division = arr1 / 2 print(arr1) print(result_addition) print(result_subtraction) print(result_multiplication) print(result_division)
  • 14. Output: • We first import NumPy as np. • We create a NumPy array, arr1 , using the np.array() function. • We perform basic arithmetic operations (addition, subtraction, multiplication, and division) on arr1.
  • 15. How to install and import Python libraries Install Using pip Python libraries can be installed using the pip package manager, with simple commands like pip install library-name. Import in Python Code After installation, libraries can be imported into Python code using the import statement, such as import library-name.
  • 16. Conclusion Python libraries play a crucial role in enabling developers to efficiently tackle a wide range of tasks across different domains. Throughout this presentation, we've explored several essential Python libraries and their applications. Whether you're analyzing data, building machine learning models, creating visualizations, or developing web applications, Python libraries provide the tools you need to succeed. Python continues to empower developers worldwide to innovate and solve real-world problems. Embrace Python libraries, and unlock the full potential of your projects.