Skip to content

CLN: remove unused c_encoding #40342

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 1 commit into from
Mar 10, 2021
Merged

CLN: remove unused c_encoding #40342

merged 1 commit into from
Mar 10, 2021

Conversation

twoertwein
Copy link
Member

c_encoding has always been NULL since #36997. This allows removing/simplifying a lot of code in pandas/_libs/parsers.pyx.

@jreback jreback added Clean IO CSV read_csv, to_csv Unicode Unicode strings labels Mar 10, 2021
@jreback jreback added this to the 1.3 milestone Mar 10, 2021
@jreback jreback merged commit c17b84a into pandas-dev:master Mar 10, 2021
@jreback
Copy link
Contributor

jreback commented Mar 10, 2021

nice @twoertwein

any perf gains from this?

@twoertwein
Copy link
Member Author

any perf gains from this?

I didn't check, but I wouldn't expect a significant change as it mostly removes dead code. I can run the benchmarks later today.

jbrockmendel pushed a commit to jbrockmendel/pandas that referenced this pull request Mar 11, 2021
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 Unicode Unicode strings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants