Skip to content

nice repr for all classes #75

Closed
Closed

Description

@amueller
No description provided.

Activity

  1. added
    Good First IssueIssues suitable for people new to contributing to openml-python!
    on Oct 16, 2017
  2. self-assigned this
    on Apr 4, 2018
  3. mfeurer commented on Jun 12, 2019

    @mfeurer
    Collaborator

    Added via #701.

  4. amueller commented on Jul 14, 2019

    @amueller
    ContributorAuthor

    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_.

  5. Neeratyoy commented on Jul 16, 2019

    @Neeratyoy
    Contributor

    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

    Hope that this is the expected behaviour.

  6. mfeurer commented on Jul 25, 2019

    @mfeurer
    Collaborator

    This is now closed via #743.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Feature requestGood First IssueIssues suitable for people new to contributing to openml-python!

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions