NVIDIA / NVIDIA/cudf

[FEA] Implement skipinitialspace read_csv parameter

Open
#6,659 2 comments 0 reactions 0 assignees View on GitHub
cuIO feature request libcudf Python
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

This parameter is already a part of the API, but it is not used internally.

From experiments with Pandas, it looks like this parameter is only relevant when determining if a given field has a special value (True, False, NaN). With `skipinitialspace=True`, leading spaces should be ignored and files with content like `" NaN\n n/a\n"` can then be parsed correctly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.