diff --git a/py-polars/polars/datatypes/classes.py b/py-polars/polars/datatypes/classes.py index eff08a5eb0c4..9a074739826b 100644 --- a/py-polars/polars/datatypes/classes.py +++ b/py-polars/polars/datatypes/classes.py @@ -767,9 +767,14 @@ class Array(NestedType): ---------- inner The `DataType` of the values within each array. + shape + The shape of the arrays. width The length of the arrays. + .. deprecated:: 0.20.31 + The `width` parameter for `Array` is deprecated. Use `shape` instead. + Examples -------- >>> s = pl.Series("a", [[1, 2], [4, 3]], dtype=pl.Array(pl.Int64, 2))