all AI news
AI/ML
Dec. 4, 2023, 2:31 p.m. | Bhupendra Jogi
DEV Community dev.to
P3
Write a python program to read a CSV file and demonstrate data manipulation using Pandas library for data processing which includes cleaning, analysis, visualization and finding facts from dataset.
importing a CSV file
import pandas as pd
data=pd.read_csv("/Users/surajsatheesh/MCA/First Semester/AI:ML/Practicals/Practical 3/exams.csv")
data
type of dataset
data.dtypes
display only first 5 elements of dataframe
data.head()
displaying only the first 10 row of dataframe
data.head(10)
displaying last 20 elements of the dataframe
data.tail(20)
finding shape and information of dataframe
getting the shape …
analysis csv data dataframe data processing dataset exams facts head import library manipulation pandas practical processing python type visualization
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Founding AI Engineer, Agents
@ Occam AI | New York
AI Engineer Intern, Agents
@ Occam AI | US
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne