You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Correct way to document implementations of methods in new style #235
Actually axis could be a string ('index' or 'columns'), not only an integer. You could add string type here. Moreover you could check on typing stage of the implementation that axis type is able to be a string.
Pandas docs: {index (0)}
So it supports integers and columns and names.
I prefer copy docs from Pandas and add flags like unsupported to indicate that parameter behave not like in Pandas.
Actually
axiscould be a string ('index'or'columns'), not only an integer. You could add string type here. Moreover you could check on typing stage of the implementation that axis type is able to be a string.Originally posted by @densmirn in #227