Advertisements
Advertisements
प्रश्न
Case Based
Consider the following DataFram df and answer the following question.
| Roll no. | Name | UT1 | UT2 | UT3 | UT4 |
| 1 | Prerna Singh | 24 | 24 | 20 | 22 |
| 2 | Manish Arora | 18 | 17 | 19 | 22 |
| 3 | Tanish Geol | 20 | 22 | 18 | 24 |
| 4 | Falguni Jain | 22 | 20 | 24 | 20 |
Write down the command that will give the following output.
| Roll no. | 6 |
| Name | Tanish Geol |
| UT1 | 24 |
| UT2 | 24 |
| UT3 | 24 |
| UT4 | 24 |
dtype: object
विकल्प
print (df.max)
print df.max()
print (df.max (axis=l))
print (df.max, axis=l)
MCQ
Advertisements
उत्तर
print (df.max)
shaalaa.com
DataFrame
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
