Skip to content

Commit

Permalink
fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
topper-123 committed Aug 14, 2021
1 parent 5afecb2 commit 098f9b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pandas/core/indexes/numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ class NumericIndex(Index):
.. versionadded:: 1.4.0
Notes
-----
An NumericIndex instance can **only** contain numpy int64/32/16/8, uint64/32/16/8 or
float64/32/16 dtype. In Particulat, ``NumericIndex`` *can not* hold Pandas numeric
dtypes (:class:`Int64Dtype`, :class:`Int32Dtype` etc.).
Parameters
----------
data : array-like (1-dimensional)
Expand All @@ -81,6 +75,12 @@ class NumericIndex(Index):
UInt64Index : Index of purely uint64 labels (deprecated).
Float64Index : Index of purely float64 labels (deprecated).
Notes
-----
An NumericIndex instance can **only** contain numpy int64/32/16/8, uint64/32/16/8 or
float64/32/16 dtype. In particular, ``NumericIndex`` *can not* hold Pandas numeric
dtypes (:class:`Int64Dtype`, :class:`Int32Dtype` etc.).
Examples
--------
>>> pd.NumericIndex([1, 2, 3])
Expand Down

0 comments on commit 098f9b0

Please sign in to comment.