polars.Array#
- class polars.Array(*args: Any, **kwargs: Any)[source]#
- __init__(width: int, inner: PolarsDataType | PythonDataType = Null)[source]#
Nested list/array type.
- Parameters:
- width
The fixed size length of the inner arrays.
- inner
The DataType of values within the list
Methods
__init__
(width[, inner])Nested list/array type.
base_type
()Return this DataType's fundamental/root type class.
is_
(other)Check if this DataType is the same as another DataType.
is_not
(other)Check if this DataType is NOT the same as another DataType.
Attributes
inner
is_nested
width