SlideShare a Scribd company logo
NUMPY
What is NumPy?
 NumPy is a Python library used for working with arrays.
 It also has functions for working in the domain of linear
algebra and matrices.
 NumPy was created in 2005 by Travis Oliphant. It is an
open source project and you can use it freely.
 NumPy stands for Numerical Python.
Why Use NumPy?
 In Python we have lists that serve the purpose of arrays, but they
are slow to process.
 NumPy aims to provide an array object that is up to 50x faster than
traditional Python lists.
 The array object in NumPy is called ndarray, it provides a lot of
supporting functions that make working with ndarray very easy.
 Arrays are very frequently used in data science, where speed and
resources are very important.
Why is NumPy Faster Than Lists?
 NumPy arrays are stored at one continuous place in
memory, unlike lists, so processes can access and
manipulate them very efficiently.
 This behaviour is called locality of reference in computer
science.
 This is the main reason why NumPy is faster than lists.
Also it is optimized to work with latest CPU architectures.
Installation of NumPy
 If you have Python and PIP already installed on a system, then
installation of NumPy is very easy.
Import NumPy
 Once NumPy is installed, import it in your applications by
adding the import keyword: Import numpy
NumPy as np
 NumPy is usually imported under the np alias.
 Create an alias with the as keyword while
importing
PANDAS
What is Pandas?
 Pandas is a Python library used for working with data sets.
 It has functions for analyzing, cleaning, exploring, and
manipulating data.
 The name "Pandas" has a reference to both "Panel Data",
and "Python Data Analysis" and was created by Wes
McKinney in 2008.
Why Use Pandas?
 Pandas allow us to analyze big data and make
conclusions based on statistical theories.
 Pandas can clean messy data sets, and make them
readable and relevant.
 Relevant data is very important in data science.
Installation of Pandas
 If you have Python and PIP already installed on a system,
then installation of Pandas is very easy.
Import Pandas
 Once Pandas is installed, import it in your applications by
adding the import keyword: Import Pandas
Pandas as pd
 Pandas is usually imported under the pd alias.

More Related Content

PPTX
PPTX
NumPy.pptx Bachelor of Computer Application
PPTX
Introduction-to-NumPy-in-Python (1).pptx
PPTX
Introduction to numpy.pptx
PPTX
Data Analysis in Python-NumPy
PPTX
Data Analysis packages
PPTX
Numpy Lec1 library used in python for data analysis
PDF
Numpy,Python Library, Pandas, AI, Machine Learning
NumPy.pptx Bachelor of Computer Application
Introduction-to-NumPy-in-Python (1).pptx
Introduction to numpy.pptx
Data Analysis in Python-NumPy
Data Analysis packages
Numpy Lec1 library used in python for data analysis
Numpy,Python Library, Pandas, AI, Machine Learning

Similar to Numpy and Pandas Introduction for Beginners (20)

PPTX
Python for ML.pptx
PPTX
Python Workshop Day - 03.pptx
PDF
Scientific Python
PPTX
Introduction to numpy
PPTX
DATA ANALYSIS AND VISUALISATION using python
PPTX
data science for engineering reference pdf
PPTX
Q-Step_WS_06112019_Data_Analysis_and_visualisation_with_Python.pptx
PPTX
getting started with numpy and pandas.pptx
PDF
Python for Computer Vision - Revision
PDF
DS LAB MANUAL.pdf
PPT
Pandas-and-NumPy-Powerful-Tools-for-Data-Analysis (1).ppt
PPTX
NumPy.pptx
PPTX
Unit 3_Numpy_VP.pptx
DOCX
PPTX
Q-Step_WS_06112019_Data_Analysis_and_visualisation_with_Python (3).pptx
PPTX
Q-Step_WS_06112019_Data_Analysis_and_visualisation_with_Python.pptx
PPTX
2.2-Intro-NumPy-Matplotlib.pptx
PPTX
Lecture 2 _Foundions foundions NumPyI.pptx
PPTX
NumPy.pptx
PPTX
Numpy in python, Array operations using numpy and so on
Python for ML.pptx
Python Workshop Day - 03.pptx
Scientific Python
Introduction to numpy
DATA ANALYSIS AND VISUALISATION using python
data science for engineering reference pdf
Q-Step_WS_06112019_Data_Analysis_and_visualisation_with_Python.pptx
getting started with numpy and pandas.pptx
Python for Computer Vision - Revision
DS LAB MANUAL.pdf
Pandas-and-NumPy-Powerful-Tools-for-Data-Analysis (1).ppt
NumPy.pptx
Unit 3_Numpy_VP.pptx
Q-Step_WS_06112019_Data_Analysis_and_visualisation_with_Python (3).pptx
Q-Step_WS_06112019_Data_Analysis_and_visualisation_with_Python.pptx
2.2-Intro-NumPy-Matplotlib.pptx
Lecture 2 _Foundions foundions NumPyI.pptx
NumPy.pptx
Numpy in python, Array operations using numpy and so on
Ad

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Big Data Technologies - Introduction.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Spectral efficient network and resource selection model in 5G networks
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
sap open course for s4hana steps from ECC to s4
Big Data Technologies - Introduction.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Programs and apps: productivity, graphics, security and other tools
Diabetes mellitus diagnosis method based random forest with bat algorithm
MIND Revenue Release Quarter 2 2025 Press Release
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation theory and applications.pdf
Spectroscopy.pptx food analysis technology
MYSQL Presentation for SQL database connectivity
Spectral efficient network and resource selection model in 5G networks
Ad

Numpy and Pandas Introduction for Beginners

  • 2. What is NumPy?  NumPy is a Python library used for working with arrays.  It also has functions for working in the domain of linear algebra and matrices.  NumPy was created in 2005 by Travis Oliphant. It is an open source project and you can use it freely.  NumPy stands for Numerical Python.
  • 3. Why Use NumPy?  In Python we have lists that serve the purpose of arrays, but they are slow to process.  NumPy aims to provide an array object that is up to 50x faster than traditional Python lists.  The array object in NumPy is called ndarray, it provides a lot of supporting functions that make working with ndarray very easy.  Arrays are very frequently used in data science, where speed and resources are very important.
  • 4. Why is NumPy Faster Than Lists?  NumPy arrays are stored at one continuous place in memory, unlike lists, so processes can access and manipulate them very efficiently.  This behaviour is called locality of reference in computer science.  This is the main reason why NumPy is faster than lists. Also it is optimized to work with latest CPU architectures.
  • 5. Installation of NumPy  If you have Python and PIP already installed on a system, then installation of NumPy is very easy.
  • 6. Import NumPy  Once NumPy is installed, import it in your applications by adding the import keyword: Import numpy
  • 7. NumPy as np  NumPy is usually imported under the np alias.  Create an alias with the as keyword while importing
  • 9. What is Pandas?  Pandas is a Python library used for working with data sets.  It has functions for analyzing, cleaning, exploring, and manipulating data.  The name "Pandas" has a reference to both "Panel Data", and "Python Data Analysis" and was created by Wes McKinney in 2008.
  • 10. Why Use Pandas?  Pandas allow us to analyze big data and make conclusions based on statistical theories.  Pandas can clean messy data sets, and make them readable and relevant.  Relevant data is very important in data science.
  • 11. Installation of Pandas  If you have Python and PIP already installed on a system, then installation of Pandas is very easy.
  • 12. Import Pandas  Once Pandas is installed, import it in your applications by adding the import keyword: Import Pandas
  • 13. Pandas as pd  Pandas is usually imported under the pd alias.