An Index instance can only contain hashable objects
If dtype is None, we find the dtype that best fits the data. If an actual dtype is provided, we coerce to that dtype if it's safe. Otherwise, an error will be raised.
Make a copy of input ndarray.
Name to be stored in the index.
When True, attempt to create a MultiIndex if possible.
Immutable sequence used for indexing and alignment. The basic object storing axis labels for all pandas objects.
CategoricalIndex
Index of :None:class:`Categorical`
s.
DatetimeIndex
Index of datetime64 data.
Float64Index
Index of purely float64 labels (deprecated).
Int64Index
Index of purely int64 labels (deprecated).
IntervalIndex
An Index of :None:class:`Interval`
s.
MultiIndex
A multi-level, or hierarchical Index.
NumericIndex
Index of numpy int/uint/float data.
PeriodIndex
Index of Period data.
RangeIndex
Index implementing a monotonic integer range.
TimedeltaIndex
Index of timedelta64 data.
UInt64Index
Index of purely uint64 labels (deprecated).
>>> pd.Index([1, 2, 3]) Int64Index([1, 2, 3], dtype='int64')This example is valid syntax, but we were not able to check execution
>>> pd.Index(list('abc')) Index(['a', 'b', 'c'], dtype='object')See :
The following pages refer to to this document either explicitly or contain code examples using this.
pandas.core.indexes.period.PeriodIndex
pandas.core.indexes.timedeltas.TimedeltaIndex
pandas.core.indexes.datetimes.DatetimeIndex
pandas.core.indexes.numeric.UInt64Index
pandas.core.indexes.numeric.NumericIndex
pandas.core.indexes.range.RangeIndex
pandas.core.indexes.base.Index.__getitem__
pandas.core.construction.array
pandas.core.indexes.category.CategoricalIndex
pandas.core.arrays.interval.IntervalArray
pandas.core.indexes.numeric.Int64Index
pandas.core.indexes.numeric.Float64Index
pandas.core.indexes.multi.MultiIndex
pandas.core.indexes.interval.IntervalIndex
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