nimble.match.anyNonNumeric

nimble.match.anyNonNumeric(data)

Determine if any values in the data are non-numeric.

Return True if one or more values in the data are non-numeric. Non-numeric values include any value without a python or numpy numeric type.

Parameters:

data (Nimble Base object)

Returns:

bool

Examples

>>> lst = [[1, 'a', None],
...        [1, 'b', 3],
...        [1, 'c', None]]
>>> X = nimble.data(lst)
>>> anyNonNumeric(X)
True
>>> lst = [[1, 2, 3],
...        [1, 2, 3],
...        [1, 2, 3]]
>>> X = nimble.data(lst)
>>> anyNonNumeric(X)
False