हिंदी

Can you sort a DataFrame with respect to multiple columns?

Advertisements
Advertisements

प्रश्न

Can you sort a DataFrame with respect to multiple columns?

अति संक्षिप्त उत्तर
Advertisements

उत्तर

Yes, a DataFrame can be sorted with respect to multiple columns by using the sort_values() function and specifying the column names in a list.

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×