polars.DataFrame.shift_and_fill# DataFrame.shift_and_fill( fill_value: int | str | float, *, n: int = 1, ) → DataFrame[source]# Shift values by the given number of places and fill the resulting null values. Deprecated since version 0.19.12: Use shift() instead. Parameters: fill_valuefill None values with this value. nNumber of places to shift (may be negative).