用于 write_csv()
的设置。 更多...
#include <csv.hpp>
用于 write_csv()
的设置。
定义于文件 csv.hpp 的第 1372 行。
◆ csv_writer_options()
cudf::io::csv_writer_options::csv_writer_options |
( |
| ) |
|
|
explicitdefault |
默认构造函数。
添加此构造函数是因为 Cython 要求一个默认构造函数以便在栈上创建对象。
◆ builder()
◆ enable_include_header()
void cudf::io::csv_writer_options::enable_include_header |
( |
bool |
val | ) |
|
|
inline |
◆ get_false_value()
std::string const& cudf::io::csv_writer_options::get_false_value |
( |
| ) |
const |
|
inline |
返回用于 INT8 类型中 == 0 值的字符串。
- 返回值
- 用于 INT8 类型中 == 0 值的字符串
定义于文件 csv.hpp 的第 1495 行。
◆ get_inter_column_delimiter()
char cudf::io::csv_writer_options::get_inter_column_delimiter |
( |
| ) |
const |
|
inline |
◆ get_line_terminator()
std::string const& cudf::io::csv_writer_options::get_line_terminator |
( |
| ) |
const |
|
inline |
◆ get_na_rep()
std::string const& cudf::io::csv_writer_options::get_na_rep |
( |
| ) |
const |
|
inline |
◆ get_names()
std::vector<std::string> const& cudf::io::csv_writer_options::get_names |
( |
| ) |
const |
|
inline |
◆ get_quoting()
quote_style cudf::io::csv_writer_options::get_quoting |
( |
| ) |
const |
|
inline |
返回写入器的引用样式。
注意:仅支持 MINIMAL 和 NONE。
- MINIMAL:包含特殊字符(如行分隔符、字段分隔符/引号)的字符串列将被引用。
- NONE:不对任何列进行引用。
- 返回值
- quote_style 写入器的引用样式
定义于文件 csv.hpp 的第 1507 行。
◆ get_rows_per_chunk()
size_type cudf::io::csv_writer_options::get_rows_per_chunk |
( |
| ) |
const |
|
inline |
返回每次文件写入处理的最大行数。
- 返回值
- 每次文件写入处理的最大行数
定义于文件 csv.hpp 的第 1467 行。
◆ get_sink()
sink_info const& cudf::io::csv_writer_options::get_sink |
( |
| ) |
const |
|
inline |
返回用于写入器输出的 sink。
- 返回值
- 用于写入器输出的 sink
定义于文件 csv.hpp 的第 1432 行。
◆ get_table()
table_view const& cudf::io::csv_writer_options::get_table |
( |
| ) |
const |
|
inline |
返回将写入到输出的 table。
- 返回值
- 将写入到输出的 table
定义于文件 csv.hpp 的第 1439 行。
◆ get_true_value()
std::string const& cudf::io::csv_writer_options::get_true_value |
( |
| ) |
const |
|
inline |
返回用于 INT8 类型中 != 0 值的字符串。
- 返回值
- 用于 INT8 类型中 != 0 值的字符串
定义于文件 csv.hpp 的第 1488 行。
◆ is_enabled_include_header()
bool cudf::io::csv_writer_options::is_enabled_include_header |
( |
| ) |
const |
|
inline |
是否将头部写入 CSV。
- 返回值
- 如果将头部写入 CSV,则为 true
定义于文件 csv.hpp 的第 1460 行。
◆ set_false_value()
void cudf::io::csv_writer_options::set_false_value |
( |
std::string |
val | ) |
|
|
inline |
设置用于 INT8 类型中 == 0 值的字符串。
- 参数
-
val | 用于表示 INT8 类型中 == 0 值的字符串 |
定义于文件 csv.hpp 的第 1564 行。
◆ set_inter_column_delimiter()
void cudf::io::csv_writer_options::set_inter_column_delimiter |
( |
char |
delim | ) |
|
|
inline |
◆ set_line_terminator()
void cudf::io::csv_writer_options::set_line_terminator |
( |
std::string |
term | ) |
|
|
inline |
◆ set_na_rep()
void cudf::io::csv_writer_options::set_na_rep |
( |
std::string |
val | ) |
|
|
inline |
◆ set_names()
void cudf::io::csv_writer_options::set_names |
( |
std::vector< std::string > |
names | ) |
|
|
inline |
◆ set_quoting()
void cudf::io::csv_writer_options::set_quoting |
( |
quote_style |
quoting | ) |
|
|
inline |
设置写入器的引用样式。
注意:仅支持以下引用样式
- MINIMAL:包含特殊字符(如行分隔符/字段分隔符/引号)的字符串列将被引用。
- NONE:不对任何列进行引用。
- 参数
-
定义于文件 csv.hpp 的第 1583 行。
◆ set_rows_per_chunk()
void cudf::io::csv_writer_options::set_rows_per_chunk |
( |
size_type |
val | ) |
|
|
inline |
◆ set_table()
void cudf::io::csv_writer_options::set_table |
( |
table_view const & |
table | ) |
|
|
inline |
◆ set_true_value()
void cudf::io::csv_writer_options::set_true_value |
( |
std::string |
val | ) |
|
|
inline |
设置用于 INT8 类型中 != 0 值的字符串。
- 参数
-
val | 用于表示 INT8 类型中 != 0 值的字符串 |
定义于文件 csv.hpp 的第 1557 行。
此类的文档生成自以下文件