Skip to content

Clean Up Case Insensitive Comps in Tokenizer #29534

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 3 commits into from
Nov 12, 2019

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Nov 10, 2019

Some of this is unused; other aspects were reinventing the wheel

to_boolean was doing a lot of extra work to have a case insensitive comparison. This PR removes that code (and heap memory management) while using a cross-platform "strcasecmp" function as defined in portable.h already

@gfyoung gfyoung added Clean Internals Related to non-user accessible pandas implementation labels Nov 11, 2019
@jbrockmendel
Copy link
Member

azure fail looks unrelated, can you re-push

@jbrockmendel
Copy link
Member

LGTM. cc @chris-b1

@WillAyd WillAyd added this to the 1.0 milestone Nov 12, 2019
@jreback jreback merged commit 3770908 into pandas-dev:master Nov 12, 2019
@jreback
Copy link
Contributor

jreback commented Nov 12, 2019

thanks @WillAyd

Reksbril pushed a commit to Reksbril/pandas that referenced this pull request Nov 18, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
@WillAyd WillAyd deleted the case-comp-cleanup branch January 16, 2020 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants