pandas 1.4.2

AttributesMethodsParametersBackRef

Attributes

start :
stop :
step :

RangeIndex is a memory-saving special case of Int64Index limited to representing monotonic ranges. Using RangeIndex may in some instances improve computing speed.

This is the default index type used by DataFrame and Series when no explicit index is provided by the user.

Methods

Parameters

start : int (default: 0), range, or other RangeIndex instance

If int and "stop" is not given, interpreted as "stop" instead.

stop : int (default: 0)
step : int (default: 1)
dtype : np.int64

Unused, accepted for homogeneity with other index types.

copy : bool, default False

Unused, accepted for homogeneity with other index types.

name : object, optional

Name to be stored in the index.

Immutable Index implementing a monotonic integer range.

See Also

Index

The base pandas Index type.

Int64Index

Index of int64 data.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

pandas._testing.asserters.assert_almost_equal pandas.core.indexes.base.Index

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /pandas/core/indexes/range.py#63
type: <class 'type'>
Commit: