polars.Series.new_from_index#

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

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