fatf.utils.array.validation.is_structured_array

fatf.utils.array.validation.is_structured_array(array: numpy.ndarray) → bool[source]

Determines whether a numpy array-like object is a structured array.

Parameters
arraynumpy.ndarray

The array to be checked.

Returns
is_structuredboolean

True if the array is a structured array, False otherwise.

Raises
TypeError

The input array is not a numpy array-like object.