-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: raise on frozenset construction by Series #4482
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
Conversation
I'm -1 on this. |
Your argument about consistency is the most convincing to me, but the original thought was: if I agree with 1. and 2. I don't feel strongly about this .... I've never actually run into the issue before.... At the very least this should raise on |
cc @hayd since he might have a stronger opinion than I about this. |
Not really strong... the list argument is all I really have. I think passing in any iterator should be ok... :s
so don't see why iterables should be so different, and why we should stop it (just cos we can't test it) but... meh. Interested to see if/when dictionaries have different ordering for different python versions! |
Good example. That's actually my 3rd point in action: a while ago generators were accepted I think it's fine to support iterators as you suggest (spilled generator milk, so to speak), but that means re different ordering for different python versions, how about different ordering in the same
|
woah! that is a nice example :) I'm sold. Maybe error could mention "first use list or sorted" ? |
result = store.select('df',Term('x!=none')) | ||
expected = df[df.x != 'none'] | ||
assert_frame_equal(result,expected) | ||
except Exception as detail: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpcloud I guess will just leave this in here...and see what happens
@jreback good 2 go after passing? |
thought u closed this? obviously not...ok |
BUG: raise on frozenset construction by Series
No description provided.