Users would like methods to appear in .df results according to the order they are defined (so similar functions are grouped together), currently the use of getmembers to get all the methods in the class means they are sorted alphabetically., per https://docs.python.org/3/library/inspect.html#inspect.getmembers
Using a vars or accessing the underlying class __dict__ would avoid this issue.
Users would like methods to appear in
.df
results according to the order they are defined (so similar functions are grouped together), currently the use ofgetmembers
to get all the methods in the class means they are sorted alphabetically., per https://docs.python.org/3/library/inspect.html#inspect.getmembersUsing a
vars
or accessing the underlying class__dict__
would avoid this issue.