nimble.match.allFloating¶
- nimble.match.allFloating(data)¶
Determine if all values in the data are a float type.
Return True if every value in the data is a float type.
- Parameters:
data (Nimble Base object)
- Returns:
bool
See also
Examples
>>> lst = [[1.1, 9.0, 0.1], ... [2.2, 8.0, 0.2], ... [3.3, 7.0, 0.3]] >>> X = nimble.data(lst) >>> allFloating(X) True
>>> lst = [[1.1, 9.0, 'a'], ... [2.2, 8.0, 'b'], ... [3.3, 7.0, 'c']] >>> X = nimble.data(lst) >>> allFloating(X) False