polars.Series.shrink_dtype# Series.shrink_dtype() → Series[source]# Shrink numeric columns to the minimal required datatype. Shrink to the dtype needed to fit the extrema of this [Series]. This can be used to reduce memory pressure.