Class 12th CBSE
Write a python program to create a DataFrame with custom column name/index.
Solution: –
import pandas as pd myList = [['Ashima',12],['Mannat',14],['Samidha',15],['Jai',16]] myDataFrame = pd.DataFrame(myList,columns=['Name','Roll No']) print(myDataFrame)
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