tiled.structures.array.Kind#
- class tiled.structures.array.Kind(*values)[source]#
See https://numpy.org/devdocs/reference/arrays.interface.html#object.__array_interface__
The term “kind” comes from the numpy API as well.
Note: At import time, the environment variable
TILED_ALLOW_OBJECT_ARRAYSis checked. If it is set to anything other than"0", then this Enum gets an additional member:object = "O"
to support numpy ‘object’-type arrays which hold generic Python objects. Numpy ‘object’-type arrays are not enabled by default because their binary representation is not interpretable by clients other than Python. It is recommended to convert your data to a non-object type if possible so that it can be read by non-Python clients.
- __init__(*args, **kwds)#
Methods
__new__(value)__repr__()Return repr(self).
__str__()Return str(self).
__format__(format_spec)Return a formatted version of the string as described by format_spec.
_missing_(key)__delattr__(name, /)Implement delattr(self, name).
__dir__()Returns public methods and other interesting attributes.
__getstate__(/)Helper for pickle.
__init__(*args, **kwds)__init_subclass__This method is called when a class is subclassed.
__reduce__(/)Helper for pickle.
__reduce_ex__(proto)Helper for pickle.
__setattr__(name, value, /)Implement setattr(self, name, value).
__subclasshook__Abstract classes can override this to customize issubclass().
Attributes
__doc__bit_fieldbooleanintegerunsigned_integerfloating_pointcomplex_floating_pointtimedeltadatetimestringunicodeother__members____module____name____qualname__