Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    I get "'DataFrame' object is not callable" for this. Version: pandas 0.14. Commented Jan 29, 2015 at 10:39
  • @lvelin, do you know why sorted(df) works, is it documented somewhere? Commented Apr 1, 2020 at 17:23
  • @zyxue, sorted will be looking for the iterative class magic methods to figure out what to sort. Take a look at this question stackoverflow.com/questions/48868228/… Commented Apr 2, 2020 at 19:29