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

std::string morpheus::df_to_csv(const TableInfo &tbl, bool include_header, bool include_index_col = true)

Serialize a dataframe to an output stream in JSON format.

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

  • include_header – : Determines whether or not to include the header

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

Returns

std::string

Previous Function morpheus::df_to_csv(const TableInfo&, std::ostream&, bool, bool, bool)
Next Function morpheus::df_to_json(const TableInfo&, std::ostream&, bool, bool)
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.