nimble.match.allNonNumeric

nimble.match.allNonNumeric(data)

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

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

Parameters:

data (Nimble Base object)

Returns:

bool

Examples

>>> lst = [['A', 'B', 'C'],
...        ['A', 'B', 'C'],
...        ['A', 'B', 'C']]
>>> X = nimble.data(lst)
>>> allNonNumeric(X)
True
>>> lst = [[1, 'a', None],
...        [1, 'b', 3],
...        [1, 'c', None]]
>>> X = nimble.data(lst)
>>> allNonNumeric(X)
False