Class 12th CBSE IP
Write a python program to create a Data Frame for examination result and display row labels, column labels data types of each column and the dimensions.
Solution: –
import pandas as pd df=pd.DataFrame() df['Name']=['A','B','C','D'] df['Class']=[12,10,11,12] df['Mrks1']=[88,85,89,90] df['Mrks2']=[55,67,97,87] df['Mrks3']=[77,75,74,73] print(df) print(df['Name'].shape)
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