Skip to content

Return H2OFrame of .summary() output #8399

Open
@exalate-issue-sync

Description

@exalate-issue-sync

Right now you get an OrderDict() if you run .summary(True), but this is not a user friendly object. We should, in addition, provide the option to get an H2OFrame of the output or a Pandas dataframe.

{code:python}import h2o
h2o.init()
df = h2o.create_frame(rows=4,cols=4)
df.summary(return_data=True)

OrderedDict([('C1',
{'missing_count': 1,
'zero_count': 0,
'positive_infinity_count': 0,
'negative_infinity_count': 0,
'mins': [-73.68132820256864,
51.2866672190885,
59.78515898022933,
'NaN',{code}

The h2oframe output should look just like the table you see when you run <h2oframe>.summary()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions