[BUG] CSV Writer ignores the header parameter when no metadata is provided #6669
Labels
bug
Something isn't working
cuIO
cuIO issue
good first issue
Good for newcomers
libcudf
Affects libcudf (C++/CUDA) code.
CSV writer doesn't include column names if metadata is not present, even if
header
parameter is set to true.The CSV reader automatically generates column names if input does not have a header. Thus, current writer behavior causes the first row to be read as column names when using default parameters for both reading and writing:
The APIs should work well with default parameters.
Note: this behavior is never exercised in tests because all
write_csv
tests usewrite_csv_helper
, which always sets the metadata.The text was updated successfully, but these errors were encountered: