-
Notifications
You must be signed in to change notification settings - Fork 291
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
Predicates (and fix minimize so that tests pass) #209
Conversation
Implements #207 |
@@ -3,4 +3,5 @@ | |||
from .tables import * | |||
from .formats import * | |||
from .maps import * | |||
from .predicates import * |
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.
This means that all the functions in predicates.py
will be in the global scope when we run from datascience import *
.
Are we concerned about potential name conflicts since predicates.py
has a lot of functions?
Looks mostly good to me, aside from a question and a suggestion. We should also add |
I suppose we could put all predicate functions as attributes of some t.where('age', Item.between(3, 8)) On Sun, Mar 6, 2016 at 2:55 AM, Sam Lau notifications@github.com wrote:
|
If you end up pursuing this method, I might suggest using "is" (I guess it should be capitalized though) as the class name, so that the whole line reads (almost) like English. |
Ok, all single predicates are now methods of I left
vs
|
No description provided.