मराठी

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×