Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

describe an h2oframe #5710

Open
joscani opened this issue Feb 23, 2024 · 2 comments
Open

describe an h2oframe #5710

joscani opened this issue Feb 23, 2024 · 2 comments

Comments

@joscani
Copy link

joscani commented Feb 23, 2024

Sparkling Water Version

3.44.0.3-1-2.4

Issue description

Hi.
Maybe this is a simple question.
How can I get summary of h2oframe in sparklingwater?
I try

my_h2o_frame.describe()

But I get
49: error: value describe is not a member of ai.h2o.sparkling.H2OFrame

Programming language used

Scala

Programming language version

Scala 2.11.12

What environment are you running Sparkling Water on?

Hadoop (YARN)

Environment version info

spark 2.4

Brief cluster specification

280 vcores, ram 2tb

Relevant log output

scala> var_uni_hc.describe()
<console>:49: error: value describe is not a member of ai.h2o.sparkling.H2OFrame
       var_uni_hc.describe()

Code to reproduce the issue

val var_uni = spark.table("my_schema.var_uni").
  filter($"year" === 2024 ).
  filter($"month" === 2).
  filter($"day" === 4)
  

val var_uni_hc = hc.asH2OFrame(var_uni) 

var_uni_hc.describe()
@krasinski
Copy link
Contributor

hey @joscani, what info would you like to get?
in python you could call frame.frameId and then use h2o python client method get_frame(), and then describe it

@joscani
Copy link
Author

joscani commented Apr 18, 2024

I would like get mean, variance, sd, cardinality, etc. number of missing. But using scala, not python or R. In R or python the methods works

@krasinski krasinski reopened this Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants