A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/pandas-docs/stable/reference/api/../api/pandas.RangeIndex.step.html below:

pandas.RangeIndex.step — pandas 2.3.1 documentation

pandas.RangeIndex.step#
property RangeIndex.step[source]#

The value of the step parameter (1 if this was not supplied).

Examples

>>> idx = pd.RangeIndex(5)
>>> idx.step
1
>>> idx = pd.RangeIndex(2, -10, -3)
>>> idx.step
-3

Even if pandas.RangeIndex is empty, step is still 1 if not supplied.

>>> idx = pd.RangeIndex(1, 0)
>>> idx.step
1

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4