Function morpheus::df_to_json(MutableTableInfo&, bool)

(Latest Version)
std::string morpheus::df_to_json(MutableTableInfo &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: Requires MutableTableInfo since there is no C++ implementation of the JSON writer

  • tbl – : A wrapper around data in the dataframe

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



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