Class 12th CBSE IP
Write a program to Importing and Exporting data between pandas and CSV file.
Solution: –
import pandas as pd df = pd.read_csv("E:\emp.csv") print(df) l = [{'Name':'A','B','C'}, {'Marks':55,65,75}, {'Grade':'C','B','A'}] df1=pd.DataFrame(l) df1.to_csv("f1.csv")
Fun & Easy to follow
Works on all devices
Your own Pace
Super Affordable
Popular Videos
UX for Teams
Learn the basics and a bit beyond to improve your backend dev skills.

Chris Matthews
Designer
SEO & Instagram
Learn the basics and a bit beyond to improve your backend dev skills.

Chris Matthews
Designer