SoFunction
Updated on 2024-11-17

Solving DataFrame sorting sort problems

As shown below:

result = (['confidence','support'], ascending = False)

The following error is reported:

AttributeError: 'DataFrame' object has no attribute 'sort'

Solution:

sort_values()can be solved

Above this to solve the problem of DataFrame sort sort is all that I have shared with you, I hope to give you a reference, and I hope that you will support me more.