zcollection.expression.Expression#
- class zcollection.expression.Expression(expression)[source]#
Bases:
object
Partitioning expressions.
- Parameters:
expression (str) – The expression to be evaluated
- Raises:
NameError – If a variable is not defined.
Example
>>> expr = Expression("year==2000 and month==1 and day in range(1, 12)")
Attributes
Special Methods