def nanany(values, axis=None, skipna=True, mask=None):
values, mask, dtype, _, _ = _get_values(values, skipna, False, copy=skipna,<EOL>mask=mask)<EOL>return values.any(axis)<EOL>
Check if any elements along an axis evaluate to True.

Parameters
----------
values : ndarray
axis : int, optional
skipna : bool, default True
mask : ndarray[bool], optional
    nan-mask if known

Returns
-------
result : bool

Examples
--------
>>> import pandas.core.nanops as nanops
>>> s = pd.Series([1, 2])
>>> nanops.nanany(s)
True

>>> import pandas.core.nanops as nanops
>>> s = pd.Series([np.nan])
>>> nanops.nanany(s)
False