@@ -855,7 +855,7 @@ Int64Index and RangeIndex
855
855
856
856
In pandas 2.0, :class: `NumericIndex ` will become the default index type for numeric types
857
857
instead of ``Int64Index ``, ``Float64Index `` and ``UInt64Index `` and those index types
858
- will be removed. See :ref: `here <advanced .numericindex >` for more.
858
+ will be removed. See :ref: `here <indexing .numericindex >` for more.
859
859
``RangeIndex `` however, will not be removed, as it represents an optimized version of an integer index.
860
860
861
861
:class: `Int64Index ` is a fundamental basic index in pandas. This is an immutable array
@@ -873,7 +873,7 @@ Float64Index
873
873
874
874
In pandas 2.0, :class: `NumericIndex ` will become the default index type for numeric types
875
875
instead of ``Int64Index ``, ``Float64Index `` and ``UInt64Index `` and those index types
876
- will be removed. See :ref: `here <advanced .numericindex >` for more.
876
+ will be removed. See :ref: `here <indexing .numericindex >` for more.
877
877
``RangeIndex `` however, will not be removed, as it represents an optimized version of an integer index.
878
878
879
879
By default a :class: `Float64Index ` will be automatically created when passing floating, or mixed-integer-floating values in index creation.
@@ -982,7 +982,7 @@ NumericIndex
982
982
983
983
In pandas 2.0, :class: `NumericIndex ` will become the default index type for numeric types
984
984
instead of ``Int64Index ``, ``Float64Index `` and ``UInt64Index `` and those index types
985
- will be removed. See :ref: `here <advanced .numericindex >` for more.
985
+ will be removed. See :ref: `here <indexing .numericindex >` for more.
986
986
``RangeIndex `` however, will not be removed, as it represents an optimized version of an integer index.
987
987
988
988
:class: `NumericIndex ` is an index type that can hold data of any numpy int/uint/float dtype. For example:
@@ -991,7 +991,7 @@ NumericIndex
991
991
992
992
index = pd.NumericIndex([1 , 2 , 4 , 5 ], dtype = " int8" )
993
993
index
994
- ser = pd.Series(range (5 ), index = index)
994
+ ser = pd.Series(range (4 ), index = index)
995
995
ser
996
996
997
997
``NumericIndex `` works the same way as the existing ``Int64Index ``, ``Float64Index `` and
0 commit comments