Over a million developers have joined DZone.

Experimental Plotting in H2O Flow (Limited Support)

DZone's Guide to

Experimental Plotting in H2O Flow (Limited Support)

Learn about H2O Flow's experimental plot option, what information you need in order to use it, and why it might be helpful to you.

· Big Data Zone ·
Free Resource

The open source HPCC Systems platform is a proven, easy to use solution for managing data at scale. Visit our Easy Guide to learn more about this completely free platform, test drive some code in the online Playground, and get started today.

H2O Flow comes with an experimental plot option that can be used as below.

What you need is:

  • X: Column name
  • Y: Column name
  • Data: DataFrame name

Here is what the experimental script looks like:

plot (g) -> g(
   g.position "X_Column", "Y_Column"
 g.from inspect "data", getFrameData "DATA_SET_KEY"

You can launch the plot configuration as below:

plot inspect 'data', getFrame "<dataframe>"

Here is the screen shot:

Screen Shot 2017-06-19 at 4.50.31 PM

Here is the example script:

plot (g) -> g(
      g.position "FIRST_PAYMENT_DATE", "CHANNEL"
    g.from inspect "data", getFrameData "FM_Joined"

Note: This experimentation script only selects first 20 columns and 1,000 rows — and this setting can not be configured.

Managing data at scale doesn’t have to be hard. Find out how the completely free, open source HPCC Systems platform makes it easier to update, easier to program, easier to integrate data, and easier to manage clusters. Download and get started today.

big data ,tutorial ,h2o ,plotting

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}