Class 4-Python
Class 4-Python
Python Library is a collection of pre-written code containing functions and modules that allows you
to perform many actions without writing your code
Python NumPy
NumPy stands for Numerical Python and is the core library for numeric and scientific computing
It consists of multi
dimensional array
objects
• Lists serve the purpose of arrays, but they are slow(NumPy arrays are
stored at one continuous place in memory unlike lists, so processes
can access and manipulate them very efficiently.)
vstack()
hstack() column_stack()
NumPy Intersection and Difference
NumPy Array Mathematics
Mean
Median Standard Deviation
Python Pandas
Pandas stands for Panel Data and is the core library for data manipulation and data analysis
A Dataframe
comprises of rows
and columns
Creating a Dataframe
len()
head() describe()
tail() dtypes()
shape()
loc[]
iloc[]