हिंदी

Find the median of the values of the rows of the DataFrame.

Advertisements
Advertisements

प्रश्न

Find the median of the values of the rows of the DataFrame.

कोड लेखन
Advertisements

उत्तर

dfRaman.loc[:, 'Maths':'Eng'].median(axis=1)

Explanation:

axis=1 finds the median value of each row in the DataFrame.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: Data Handling using Pandas - II - Intext Questions [पृष्ठ ७१]

APPEARS IN

एनसीईआरटी Informatics Practices [English] Class 12
अध्याय 3 Data Handling using Pandas - II
Intext Questions | Q 4. | पृष्ठ ७१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×