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

(Latest Version)
std::string morpheus::df_to_json(const TableInfo &tbl, bool include_index_col = true)

Serialize a dataframe into a JSON formatted string.

Note the include_index_col is currently being ignored in both versions of df_to_json due to a known issue in Pandas:

  • tbl – : A wrapper around data in the dataframe

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



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