str repr dunders #172
PabloRuizCuevas
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Hey Pablo, Sorry for not getting to this earlier, a bit flat out at the moment. I probably need to think about it in detail a little more before we make a permanent change, but you can monkeypatch a solution for yourself in the meantime: Cheers, Riley. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! just saw that you include me in the change-log of the new versions, thanks! :) I will probably continue using this library on the time being, and i was wondering if we could change a bit these methods to give a bit more of information of the object itselfs
I'm not yet super familiar with all the internals of the library but for me I would find more useful to make repr to return self.to_frame()
or self._data
In general i would like that when passing a stairs object in a jupyter notebook it prints something useful by default with no need of calling to_frame() or print, but ofc this is a personal preference.I imagine you may have reasons to let it as is, just writing ideas here in case you think they are good ones.
Beta Was this translation helpful? Give feedback.
All reactions