In this video, we're going to take a quick look at how to get data out of H2O.
You might want to do this if you've done some data emerging,
which we're going to look at later in this module,
and you might want to export the protections the H2O has made.
We've already looked actually last week at how to get data from H2O into your client,
how to download the data for him.
When you want to save the data as a file,
you will use H2O export file.
Fairly self-explanatory.
The first argument is the name of the frame to export,
and the second parameter is where to save it to.
If you start with a forward slash,
it will be saved on a local file system.
If you start with HTFS colon slash slash or S3 colon slash slash,
it will save to those destinations.
And again, you should be using callsite XML if you need to set credentials.
It will save in CSV format.
Another thing to watch out for is it will be saving decompressed.
So the data is compressed inside H2O as memory.
You may be surprised how big data can be when it comes on to disk.
If you were running on a cluster,
just be careful exactly with what's happening.
I think by default,
it will save the whole file to the first node in your cluster.
So, make sure you have enough disk space.
Take a look at the documentation for export file to see some other options there.
Finally, flow has both download and export buttons
to give you the same functionality as you have them all in Python.