What will be the output of the following code 

import pandas as pd
 
marksinfo={'Name':['Deepak','Ram','Deepa','Zira'],
 'Maths':[24,21,14,20],
 'Science':[21,20,19,17],
 'Hindi':[20,22,24,24],
 'Eng':[21,24,23,19]
 }
df=pd.DataFrame(marksinfo)
print(df.max())

1
Name       Deepa
Maths       21
Science    21
Hindi        24,24
Eng          24
dtype: object
2
Name       Deepak
Maths       24
Science    21
Hindi        24
Eng          24
dtype: object
3
Name       Zira
Maths       24
Science    21
Hindi        24
Eng          24
dtype: object
4
Name       Zira
Maths       24
Science    21
Hindi        24,24
Eng          24
dtype: object

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation