Class 12th CBSE
Write a program to read details such as item sales made in a Data Frame and then store this
data in a csv file.
Solution: –
import pandas as pd c={'Fridge':[12],'Cooker':[5],'Juicer':[15],'Iron':[11]} df= pd.DataFrame(c) print(df) df.to_csv('file.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