Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG]: cudf.read_csv(comment=#) still including commented line #13856

Open
mroeschke opened this issue Aug 11, 2023 · 1 comment
Open

[BUG]: cudf.read_csv(comment=#) still including commented line #13856

mroeschke opened this issue Aug 11, 2023 · 1 comment
Labels
0 - Backlog In queue waiting for assignment bug Something isn't working cuIO cuIO issue libcudf Affects libcudf (C++/CUDA) code.

Comments

@mroeschke
Copy link
Contributor

Describe the bug
cudf.read_csv(comment=#) still includes the commented line

Steps/Code to reproduce bug

In [58]: import cudf

In [59]: cudf.__version__
Out[59]: '23.10.00'

In [60]: from io import StringIO

In [61]: data = "\na,b,c\n  \n# commented line\n1,2,3\n\n4,5,6"

In [62]: cudf.read_csv(StringIO(data), comment="#")
Out[62]: 
   a                 b     c
0  0  # commented line  <NA>
1  1                 2     3
2  4                 5     6

Expected behavior

In [63]: import pandas

In [64]: pandas.read_csv(StringIO(data), comment="#")
Out[64]: 
   a  b  c
0  1  2  3
1  4  5  6

Environment overview (please complete the following information)

  • Environment location: Bare-metal
  • Method of cuDF install: conda
    • If method of install is [Docker], provide docker pull & docker run commands used

Environment details
Please run and paste the output of the cudf/print_env.sh script here, to gather any other relevant environment details

Additional context
Add any other context about the problem here.

@mroeschke mroeschke added bug Something isn't working Needs Triage Need team to review and classify labels Aug 11, 2023
@galipremsagar
Copy link
Contributor

cc: @vuule

@GregoryKimball GregoryKimball added 0 - Backlog In queue waiting for assignment libcudf Affects libcudf (C++/CUDA) code. cuIO cuIO issue and removed Needs Triage Need team to review and classify labels Aug 18, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
0 - Backlog In queue waiting for assignment bug Something isn't working cuIO cuIO issue libcudf Affects libcudf (C++/CUDA) code.
Projects
None yet
Development

No branches or pull requests

3 participants