locan.data.aggregate.is_array_like#
- locan.data.aggregate.is_array_like(anything)[source]#
Return true if anything can be turned into a numpy.ndarray without creating elements of type object.
Catches numpy.VisibleDeprecationWarning or ValueError when setting an array element with a sequence.
- Parameters:
anything (
Any
) – Anything to be classified as being array-like or not.- Return type:
bool