module documentation

Tests for array coercion, mainly through testing np.array results directly. Note that other such tests exist e.g. in test_api.py and many corner-cases are tested (sometimes indirectly) elsewhere.

Class TestArrayLikes No class docstring; 1/6 method documented
Class TestAsArray Test expected behaviors of asarray.
Class TestBadSequences Undocumented
Class TestNested Undocumented
Class TestScalarDiscovery No class docstring; 3/11 methods documented
Class TestSpecialAttributeLookupFailure Undocumented
Class TestStringDiscovery Undocumented
Class TestTimeScalars Undocumented
Function arraylikes Generator for functions converting an array into various array-likes. If full is True (default) includes array-likes not capable of handling all dtypes
Function is_parametric_dtype Returns True if the dtype is a parametric legacy dtype (itemsize is 0, or a datetime without units)
Function scalar_instances Undocumented
def arraylikes(): (source)

Generator for functions converting an array into various array-likes. If full is True (default) includes array-likes not capable of handling all dtypes

def is_parametric_dtype(dtype): (source)

Returns True if the dtype is a parametric legacy dtype (itemsize is 0, or a datetime without units)

def scalar_instances(times=True, extended_precision=True, user_dtype=True): (source)

Undocumented