[go: up one dir, main page]

0% found this document useful (0 votes)
78 views22 pages

DM File

The document discusses several popular Python libraries for working with arrays (NumPy), plotting graphs (Matplotlib), data analysis (Pandas), scientific computing (SciPy), machine learning (Scikit-learn), and statistical data visualization (Seaborn). It provides brief descriptions of the types of tasks each library is used for, such as linear algebra, Fourier transforms, plotting different graph types, cleaning and manipulating data, machine learning algorithms, and creating statistical plots.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views22 pages

DM File

The document discusses several popular Python libraries for working with arrays (NumPy), plotting graphs (Matplotlib), data analysis (Pandas), scientific computing (SciPy), machine learning (Scikit-learn), and statistical data visualization (Seaborn). It provides brief descriptions of the types of tasks each library is used for, such as linear algebra, Fourier transforms, plotting different graph types, cleaning and manipulating data, machine learning algorithms, and creating statistical plots.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 22

Python Libraries

NumPy- NumPy stands for Numerical Python. NumPy is a Python library used
for working with arrays. It also has functions for working in domain of linear algebra,
Fourier transform, and matrices.

Matplotlib- Matplotlib is a python library used to create 2D graphs and plots by


using python scripts. It has a module named pyplot which makes things easy for
plotting by providing feature to control line styles, font properties, formatting axes etc.
It supports a very wide variety of graphs and plots namely - histogram, bar charts,
power spectra, error charts etc. It is used along with NumPy to provide an environment
that is an effective open-source alternative for Matlab.

Pandas- Pandas is a Python library used for working with data sets. It has
functions for analyzing, cleaning, exploring, and manipulating data. Pandas allows us
to analyze big data and make conclusions based on statistical theories. Pandas can
clean messy data sets, and make them readable and relevant.

SciPy- SciPy is a scientific computation library that uses NumPy underneath.


SciPy stands for Scientific Python. It provides more utility functions for optimization,
stats and signal processing. Like NumPy, SciPy is open source so we can use it freely.

Scikit-learn- Scikit-learn is the most useful and robust library for machine
learning in Python. It provides a selection of efficient tools for machine learning and
statistical modeling including classification, regression, clustering and dimensionality
reduction via a consistence interface in Python. This library, which is largely written in
Python, is built upon NumPy, SciPy and Matplotlib.

Seaborn- Seaborn is an amazing library for visualization of graphical statistical


plotting in python. Seaborn provides many color palettes and beautiful styles to create
attractive statistical plots. It is built on the core of the matplot library and provides
dataset-oriented APIs.
 Factorial

 Fibonacci

 Array insertion
 Linear search

 Sorting array
 Sum of elements of array

 Shape and dimension of matrix using NumPy


 Matrix full of zeroes
and ones

 Matrix reshape and flatten


 Appending data vertically and horizontally

 Indexing
 Mean, median, standard deviation, min, max of
an arrray

 Data frame using pandas


 Reshaping data by categorizing into numbers 0,1

 Dealing with missing values by replacing them


with column mean
 Filtering data, printing student name with
marks>75 and dropping one column

 Line graph
 Bar Graph
 Scatter Graph
 Creating 2 tables S1, S2

Merging 2 tables on common column Rollno

 Creating a data frame for dictionary


 Sum ()

 Mean ()

 Sum (1) #Describe ()


 Std ()

 Describe (include = ‘all’)


 Machine Learning extension (Mlxtend)

 Apriori

 Get unique values from a column


 Iterate over rows

 Apriori frequent items


 Apriori

 Read data
 Grouping

 Transaction encoder

 Apriori
 Sorting

 ECLAT
 Read dataset

 Shape of data

 Scatter plot

 KMeans

 Clustering
 Scatter graph

 Line graph

You might also like