Python Programming In 30 Days Day -13(DataFrame with Python Pandas)
Автор: Sharma ji ka Gyan & Tricks
Загружено: 2020-03-05
Просмотров: 91
Python Programming In 30 Days
Day -13
(DataFrame with Python Pandas)
Data Science
Data Science or data analytics is a process of analyzing large set of that data points to get answers on questions related to that data set.
Data Analysis libraries: will learn to use Pandas, Numpy and Scipy libraries to work with a sample dataset.
Pandas is used for Data Analytics most in python.
Data Cleaning
Process of cleaning messy data is called data munging or data wrangling.
Ways of Creating Data frame
Using CSV
Using Excel
From Python Dictionary
From list of tuples
From list of dictionaries
Creating Data with Python Dictionary
Python | Pandas DataFrame. Pandas DataFrame is two-dimensional size-mutable, potentially heterogeneous tabular data structure with labeled axes (rows and columns). A Data frame is a two-dimensional data structure,
import pandas as pd
data={
'Id' : [101,102,103,104,105,106],
'Name' : ['Arshad','Pankaj','Lokesh','Saurabh','Abhinav','Niraj'],
'Score' : [80,90,99,95,96,79]
}
df=pd.DataFrame(data)
df
#Print column names
df.columns
#Print describe all count, min ,max,mean, perntile
df.describe()
#Print maximum score in data
df[df.Score==df.Score.max()]
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: