Skip to content

BUG: allow lex string comparisons #6158

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
Jan 29, 2014
Merged

BUG: allow lex string comparisons #6158

merged 1 commit into from
Jan 29, 2014

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Jan 29, 2014

closes #6155

df = DataFrame({'X': a, 'Y': b})

ops = '<', '>', '<=', '>='
op_dict = {'<': opr.lt, '>': opr. gt, '<=': opr.le, '>=': opr.ge}
Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't realize a space between the dot was valid Python. TIL

@jreback
Copy link
Contributor

jreback commented Jan 29, 2014

gr8!

jreback added a commit that referenced this pull request Jan 29, 2014
BUG: allow lex string comparisons
@jreback jreback merged commit d1ccbaf into pandas-dev:master Jan 29, 2014
@jreback
Copy link
Contributor

jreback commented Jan 29, 2014

thanks!

@cpcloud
Copy link
Member Author

cpcloud commented Jan 29, 2014

np trying to do more ... got the single element bool coming ur way in 5...4...3...

@jreback
Copy link
Contributor

jreback commented Jan 29, 2014

do you know how the new github inteface shows if travis has passed?

@cpcloud
Copy link
Member Author

cpcloud commented Jan 29, 2014

i was getting a yellow box for a while while it was running

@cpcloud
Copy link
Member Author

cpcloud commented Jan 29, 2014

but u merged before i had a change to see the green here (was green by email)

@jreback
Copy link
Contributor

jreback commented Jan 29, 2014

oh...mine not updating...I actually looked on travis

FYI...I think travis runs each one under your id AND pydata.....this doesn't turn green until the pydata one does

@cpcloud cpcloud deleted the eval-fix-str-lexico branch January 29, 2014 03:41
@cpcloud
Copy link
Member Author

cpcloud commented Jan 29, 2014

hm ok good 2 know thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

String comparison in query()
2 participants