noatamir/pyladies-berlin-sprints

DOC: improve the string repr of "no_default" in the signature of methods

Opened this issue · 1 comments

For example in https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.dropna.html, the signature shows "how=_NoDefault.no_default". This could be improved to the shorter / less noisy "how=<no_default>", by adding a __str__ method to this object (https://github.com/pandas-dev/pandas/blob/7e5a95cda77d2665d5bec2f4154bf72f041ac36b/pandas/_libs/lib.pyx#L2671-L2678)

Hi! I'm gonna work on this one 👍