NVIDIA Morpheus (24.06)
(Latest Version)

Function morpheus::df_to_json(const TableInfo&, std::ostream&, bool, bool)

void morpheus::df_to_json(const TableInfo &tbl, std::ostream &out_stream, bool include_index_col = true, bool flush = false)

Serialize a dataframe into a JSON formatted string.

Parameters
  • tbl – : A wrapper around data in the dataframe

  • out_stream – : Output stream to write the results to a destination

  • include_index_col – : Determines whether or not to include the dataframe index

  • flush – : When true flush out_stream.

Previous Function morpheus::df_to_csv(const TableInfo&, bool, bool)
Next Function morpheus::df_to_json(const TableInfo&, bool)
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.