VertexFrame export_to_json


export_to_json(self, folder_name, count=0, offset=0)

Write current frame to HDFS in JSON format.

Parameters:

folder_name : unicode

The HDFS folder path where the files will be created.

count : int32 (default=0)

The number of records you want. Default (0), or a non-positive value, is the whole frame.

offset : int32 (default=0)

The number of rows to skip before exporting to the file. Default is zero (0).

Returns:

: dict

The URI of the created file

Export the frame to a file in JSON format as a Hadoop file.

Examples

>>> frame.export_to_json('covarianceresults')
[===Job Progress===]
"hdfs://hostname/user/user1/covarianceresults"