Skip to content

CLN: Minor cleanup of deprecations in parser code #43372

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

Merged
merged 2 commits into from
Sep 4, 2021

Conversation

lithomas1
Copy link
Member

@lithomas1 lithomas1 commented Sep 2, 2021

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

Some spaghetti that I noticed and was annoying.

@lithomas1 lithomas1 marked this pull request as draft September 2, 2021 22:41
@lithomas1 lithomas1 added Clean IO CSV read_csv, to_csv labels Sep 3, 2021
@lithomas1 lithomas1 added this to the 1.4 milestone Sep 3, 2021
@lithomas1 lithomas1 marked this pull request as ready for review September 3, 2021 03:44
@@ -442,7 +440,6 @@
}

_deprecated_defaults: dict[str, Any] = {"error_bad_lines": None, "warn_bad_lines": None}
_deprecated_args: set[str] = {"error_bad_lines", "warn_bad_lines"}
Copy link
Member

Choose a reason for hiding this comment

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

looks like both of these are present in the parsers.pyi file but not in parsers.pyx. Does one of those need to be updated?

@jreback jreback merged commit a0d0cf1 into pandas-dev:master Sep 4, 2021
@jreback
Copy link
Contributor

jreback commented Sep 4, 2021

thanks @lithomas1

feefladder pushed a commit to feefladder/pandas that referenced this pull request Sep 7, 2021
@lithomas1 lithomas1 deleted the cln-deprecations branch September 18, 2021 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean IO CSV read_csv, to_csv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants