module documentation

Undocumented

Class TestBuiltin No class docstring; 1/12 method documented
Class TestClassGetItem Undocumented
Class TestDtypeAttributeDeletion Undocumented
Class TestDtypeAttributes Undocumented
Class TestDTypeClasses Undocumented
Class TestDTypeMakeCanonical No class docstring; 1/5 method documented
Class TestFromCTypes No class docstring; 0/2 class variable, 1/16 method, 0/1 static method documented
Class TestFromDTypeAttribute Undocumented
Class TestMetadata Undocumented
Class TestMonsterType Test deeply nested subtypes.
Class TestPickling Undocumented
Class TestPromotion Test cases related to more complex DType promotions. Further promotion tests are defined in test_numeric.py
Class TestRecord No class docstring; 2/19 methods documented
Class TestString Undocumented
Class TestStructuredDtypeSparseFields Tests subarray fields which contain sparse dtypes so that not all memory is used by the dtype work. Such dtype's should leave the underlying memory unchanged.
Class TestStructuredObjectRefcounting These tests cover various uses of complicated structured types which include objects and thus require reference counting.
Class TestSubarray No class docstring; 5/13 methods documented
Class TestUserDType Undocumented
Function assert_dtype_equal Undocumented
Function assert_dtype_not_equal Undocumented
Function iter_struct_object_dtypes Iterates over a few complex dtypes and object pattern which fill the array with a given object (defaults to a singleton).
Function test_class_getitem_38 Undocumented
Function test_dtypes_are_true Undocumented
Function test_invalid_dtype_string Undocumented
Function test_keyword_argument Undocumented
Function test_rational_dtype Undocumented
Function test_result_type_integers_and_unitless_timedelta64 Undocumented
Function test_ulong_dtype Undocumented
def assert_dtype_equal(a, b): (source)

Undocumented

def assert_dtype_not_equal(a, b): (source)

Undocumented

def iter_struct_object_dtypes(): (source)

Iterates over a few complex dtypes and object pattern which fill the array with a given object (defaults to a singleton).

Yields
  • dtype: dtype
  • pattern: tuple - Structured tuple for use with np.array.
  • count: int - Number of objects stored in the dtype.
  • singleton: object - A singleton object. The returned pattern is constructed so that all objects inside the datatype are set to the singleton.
@pytest.mark.skipif((sys.version_info >= (3, 9)), reason='Requires python 3.8')
def test_class_getitem_38(): (source)

Undocumented

def test_dtypes_are_true(): (source)

Undocumented

def test_invalid_dtype_string(): (source)

Undocumented

def test_keyword_argument(): (source)

Undocumented

def test_rational_dtype(): (source)

Undocumented

def test_result_type_integers_and_unitless_timedelta64(): (source)

Undocumented

def test_ulong_dtype(): (source)

Undocumented