Question 12 Marks
What is a DataFrame in pandas?
Answer
View full question & answer→Pandas DataFrame is two-dimensional size-mutable, potentially heterogeneous tabular data structure with labeled axes (rows and columns).
7 questions · timed · auto-graded
A Series is a one-dimensional data structure in pandas, whereas the DataFrame is the two-dimensional data structure in pandas.

df.rename({0:'S01', 1:'S02',2:'S03', 3:'S04',4:'S05'}, axis='index',inplace=True)
Statement 2:
df.rename({'Sno':'Student Number', 'Sname':'Student Name','Mail':'E-Mail', 'Mark':'Marks'}, axis='columns',inplace=True)