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
dataarray-like (1-dimensional)
dtypeNumPy dtype (default: int64)
copybool

Make a copy of input ndarray.

nameobject

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