sdc icon indicating copy to clipboard operation
sdc copied to clipboard

Correct way to document implementations of methods in new style

Open PokhodenkoSA opened this issue 5 years ago • 1 comments

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.

Originally posted by @densmirn in https://github.com/IntelPython/hpat/pull/227

PokhodenkoSA avatar Oct 18 '19 07:10 PokhodenkoSA

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.

PokhodenkoSA avatar Oct 18 '19 07:10 PokhodenkoSA