Q. Write the code fragment to sort the given dataframe (say df and consisting of students' details) in descending order of AdmNo.


Answer :-

df.sort_values ('AdmNo', ascending = False)

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post