Program Listing for File serializers.hpp

Return to documentation for file (morpheus/_lib/include/morpheus/io/serializers.hpp)

Copy
Copied!
            

#pragma once #include "morpheus/objects/table_info.hpp" #include <ostream> #include <string> namespace morpheus { std::string df_to_csv(const TableInfo& tbl, bool include_header, bool include_index_col = true); void df_to_csv(const TableInfo& tbl, std::ostream& out_stream, bool include_header, bool include_index_col = true); // Note the include_index_col is currently being ignored in both versions of `df_to_json` due to a known issue in // Pandas: https://github.com/pandas-dev/pandas/issues/37600 std::string df_to_json(const TableInfo& tbl, bool include_index_col = true); void df_to_json(const TableInfo& tbl, std::ostream& out_stream, bool include_index_col = true); // end of group } // namespace morpheus

© Copyright 2023, NVIDIA. Last updated on Feb 3, 2023.