0% found this document useful (0 votes)
10 views

Pandas in Python 16sept2022

The document is an 8-page guide about using Pandas in Python for data analysis. It discusses how Pandas is a library used to analyze and manipulate data from Excel using data structures and operations. It provides examples of creating Pandas DataFrames from dictionaries of data and loading CSV files. It also includes links to external resources for further reading.

Uploaded by

aditya.cse121118
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Pandas in Python 16sept2022

The document is an 8-page guide about using Pandas in Python for data analysis. It discusses how Pandas is a library used to analyze and manipulate data from Excel using data structures and operations. It provides examples of creating Pandas DataFrames from dictionaries of data and loading CSV files. It also includes links to external resources for further reading.

Uploaded by

aditya.cse121118
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Pandas in Python for data analysis compiled by src7bppimt@gmail.

com 16-Sept-2022 Pg 1 of 8

Pandas is a library in python which is used by the programmers to


analyze data or manipulate data in MS Excel using various data
structures or operations.

Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 1 of 8


Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 2 of 8

Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 2 of 8


Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 3 of 8

Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 3 of 8


Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 4 of 8

Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 4 of 8


Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 5 of 8

Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 5 of 8


Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 6 of 8

Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 6 of 8


Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 7 of 8

Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 7 of 8


Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 8 of 8

https://www.analyticsvidhya.com/blog/2021/11/a-simple-guide-to-pandas-dataframe-opera
tions/

#
https://www.analyticsvidhya.com/blog/2021/11/a-simple-guide-to-pandas-data
frame-operations/
import pandas as pd
points_table = {'Team_':['MI', 'CSK', 'Devils', 'MI', 'CSK',
'RCB', 'CSK', 'CSK', 'KKR', 'KKR', 'KKR', 'RCB'],
'Rank_' :[1, 2, 2, 3, 3,4 ,1 ,1,2 , 4,1,2],
'Year_' :[2014,2015,2014,2015,2014,2015,2016,2017,2016,2014,2015,2017],
'Point_':[876,789,863,673,741,812,756,788,694,701,804,690]}
df = pd.DataFrame(points_table)
print(df)

#https://www.analyticsvidhya.com/blog/2021/11/a-simple-guide-to-pandas-dat
aframe-operations/
df =
pd.read_csv(r'https://raw.githubusercontent.com/a-coders-guide-to-ai/a-cod
ers-guide-to-neural-networks/master/data/diabetes.csv')
#this will give first 5 rows of the data frame we can also get the first
10 the rows n=10
df.head(n=5)

Pandas in Python for data analysis compiled by [email protected] 16-Sept-2022 Pg 8 of 8

You might also like