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
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US