(Latest Version)

Function morpheus::df_to_json(MutableTableInfo&, std::ostream&, bool, bool)

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

Serialize a dataframe into a JSON formatted string.

Requires MutableTableInfo since there is no C++ implementation of the JSON writer

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.

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.