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
actually not true, you added __str__ not __repr__, which is what ipython uses. So it's not helping for notebooks.
If you don't like changing __repr__ you can do _repr_pretty_.
Hi @amueller,
I have a branch ready with the changes that you suggested. I'll create a PR once I get a green light.
The current design has been tested on ipython console, and jupyter notebooks. t = openml.tasks.get_task(31) t # same output as below print(t) # same output as above
Activity
mfeurer commentedon Jun 12, 2019
Added via #701.
amueller commentedon Jul 14, 2019
actually not true, you added
__str__not__repr__, which is what ipython uses. So it's not helping for notebooks.If you don't like changing
__repr__you can do_repr_pretty_.Neeratyoy commentedon Jul 16, 2019
Hi @amueller,
I have a branch ready with the changes that you suggested. I'll create a PR once I get a green light.
The current design has been tested on ipython console, and jupyter notebooks.
t = openml.tasks.get_task(31)t # same output as belowprint(t) # same output as aboveHope that this is the expected behaviour.
mfeurer commentedon Jul 25, 2019
This is now closed via #743.