You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pandas has significantly improved support for operations involving unsigned,
94
+
or purely non-negative, integers. Previously, handling these integers would
95
+
result in improper rounding or data-type casting, leading to incorrect results.
96
+
Notably, a new numerical index, `UInt64Index`, has been created (:issue:`14937`)
97
+
98
+
.. ipython:: python
99
+
100
+
idx = pd.UInt64Index([1, 2, 3])
101
+
df = pd.DataFrame(['a', 'b', 'c'], index=idx)
102
+
df.index
103
+
104
+
- Bug in converting object elements of array-like objects to unsigned 64-bit integers (:issue:`4471`)
105
+
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:issue:`14721`)
106
+
- Bug in ``DataFrame`` construction in which unsigned 64-bit integer elements were being converted to objects (:issue:`14881`)
107
+
91
108
.. _whatsnew_0200.enhancements.other:
92
109
93
110
Other enhancements
@@ -279,7 +296,6 @@ Bug Fixes
279
296
~~~~~~~~~
280
297
281
298
- Bug in ``TimedeltaIndex`` addition where overflow was being allowed without error (:issue:`14816`)
282
-
- Bug in ``DataFrame`` construction in which unsigned 64-bit integer elements were being converted to objects (:issue:`14881`)
283
299
- Bug in ``astype()`` where ``inf`` values were incorrectly converted to integers. Now raises error now with ``astype()`` for Series and DataFrames (:issue:`14265`)
284
300
- Bug in ``DataFrame(..).apply(to_numeric)`` when values are of type decimal.Decimal. (:issue:`14827`)
285
301
- Bug in ``describe()`` when passing a numpy array which does not contain the median to the ``percentiles`` keyword argument (:issue:`14908`)
@@ -297,6 +313,4 @@ Bug Fixes
297
313
298
314
299
315
300
-
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:issue:`14721`)
301
316
- Require at least 0.23 version of cython to avoid problems with character encodings (:issue:`14699`)
302
-
- Bug in converting object elements of array-like objects to unsigned 64-bit integers (:issue:`4471`)
0 commit comments