pandas / 1.4.0 / reference / api / pandas.int64index.html /

pandas.Int64Index

class pandas. Int64Index ( data=None, dtype=None, copy=False, name=None ) [source]

Immutable sequence used for indexing and alignment. The basic object storing axis labels for all pandas objects. Int64Index is a special case of Index with purely integer labels. .

Deprecated since version 1.4.0: In pandas v2.0 Int64Index will be removed and NumericIndex used instead. Int64Index will remain fully functional for the duration of pandas 1.x.

Parameters
data :array-like (1-dimensional)
dtype :NumPy dtype (default: int64)
copy :bool

Make a copy of input ndarray.

name :object

Name to be stored in the index.

See also

Index

The base pandas Index type.

NumericIndex

Index of numpy int/uint/float data.

Notes

An Index instance can only contain hashable objects.

Attributes

None

Methods

None

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.4.0/reference/api/pandas.Int64Index.html