h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.91k stars 2k forks source link

h2o describe: make access of the contents of h2o.describe easier #11390

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

90786

from R can easily access the contents of h2o.describe by using as.data.table but in python had to call .summary() to access them.

this does not work -

{code:java} boston = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/gbm_test/BostonHousing.csv") tt = boston.describe() import pandas as pd dd = pd.DataFrame(tt) list(dd) [ ] {code}

this works

{code:java} boston = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/gbm_test/BostonHousing.csv")

tt = boston.summary(return_data=True) import pandas as pd dd = pd.DataFrame(tt) dd list(dd) dd['crim']['zero_count'] {code}

h2o-ops commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-4506 Assignee: Navdeep Gill Reporter: Nidhi Mehta State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A