def any(self, values, axis=0):
    'compute if any item evaluates to true in each group\n\n        Parameters\n        ----------\n        values : array_like, [keys, ...]\n            values to take boolean predicate over per group\n        axis : int, optional\n            alternative reduction axis for values\n\n        Returns\n        -------\n        unique: ndarray, [groups]\n            unique keys\n        reduced : ndarray, [groups, ...], np.bool\n            value array, reduced over groups\n        '
    values = np.asarray(values)
    if (not (values.dtype == np.bool)):
        values = (values != 0)
    return (self.unique, (self.reduce(values, axis=axis) > 0))
compute if any item evaluates to true in each group

Parameters
----------
values : array_like, [keys, ...]
    values to take boolean predicate over per group
axis : int, optional
    alternative reduction axis for values

Returns
-------
unique: ndarray, [groups]
    unique keys
reduced : ndarray, [groups, ...], np.bool
    value array, reduced over groups
def any(self, values, axis=0):
    'compute if any item evaluates to true in each group\n\n        Parameters\n        ----------\n        values : array_like, [keys, ...]\n            values to take boolean predicate over per group\n        axis : int, optional\n            alternative reduction axis for values\n\n        Returns\n        -------\n        unique: ndarray, [groups]\n            unique keys\n        reduced : ndarray, [groups, ...], np.bool\n            value array, reduced over groups\n        '
    values = np.asarray(values)
    if (not (values.dtype == np.bool)):
        values = (values != 0)
    return (self.unique, (self.reduce(values, axis=axis) > 0))