polars.Series.new_from_index#

Series.new_from_index(index: int, length: int) Series[source]#

Create a new Series filled with values from the given index.