Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

adding test to check if rows are skipped when skip_blank_lines is set… #50843

Conversation

pooja-subramaniam
Copy link
Contributor

@pooja-subramaniam pooja-subramaniam commented Jan 18, 2023

… to true in read_csv

xref #22693
test added with xfail decorator
@noatamir @phofl

@phofl
Copy link
Member

phofl commented Jan 22, 2023

CI is currently failing, we have to merge main after this is fixed

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite IO Data IO issues that don't fit into a more specific label labels Jan 23, 2023
@pooja-subramaniam
Copy link
Contributor Author

@phofl Could you please merge this if there's no problem in the code?

parser = all_parsers
csv_f = StringIO(
"""A, B, C, D
FOO, 1, 2, 3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move these lines to the beginning of each line?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise lgtm

"""A, B, C, D
FOO, 1, 2, 3
FOO, 4, 5, 6
, , ,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry should have been clearer. I meant moving it completely to the left, """ allows this. Please also remove the whitespaces in the blank line completely

@phofl phofl added this to the 2.0 milestone Feb 2, 2023
@pooja-subramaniam
Copy link
Contributor Author

Thanks for the comments and approval @phofl!

@phofl
Copy link
Member

phofl commented Feb 5, 2023

Pre-commit is failing, could you check? Otherwise lgtm

@pooja-subramaniam
Copy link
Contributor Author

pooja-subramaniam commented Feb 15, 2023

Not sure why 'Ubuntu / Data Manager (pull_request)' fails. Under details, I see 'The runner has received a shutdown signal...' in GHA. GH 45651". Anything I can do about it?

@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Data IO issues that don't fit into a more specific label Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants