Return a cf.Query object for a variable for being equal to any member of a collection.
Parameters: | values : sequence
|
---|---|
Returns: |
|
Examples: |
>>> c = cf.set([3, 5])
>>> c
<CF Query: set [3, 5]>
>>> c == 4
False
>>> c == 5
True
>>> print c == numpy.array([2, 3, 4, 5])
[False True False True]