why is ‘key’ an unexpected keyword of sort values?

As mentioned in the comments section, Sorting with Keys is introduced in version 1.1.0.

You may run the following to update the package (note the -U flag):

python -m pip install -U pandas

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top