Polars Series.to_numpy() does not return ndarray
Polars Series.to_numpy() does not return ndarray Question: I was trying to convert a series to a numpy array via .to_numpy() but unlike what the documentation shows i am not getting a ndarray out but a seriesview Running exactly the example in the documentation: https://pola-rs.github.io/polars/py-polars/html/reference/series/api/polars.Series.to_numpy.html s = pl.Series("a", [1, 2, 3]) arr = s.to_numpy() arr type(arr) …