tiled.structures.array.Kind¶
- class tiled.structures.array.Kind(value)[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_ARRAYS
is 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, **kwargs)¶
Attributes
bit_field
boolean
integer
unsigned_integer
floating_point
complex_floating_point
timedelta
datetime
string
unicode
other