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,
97
+
or purely non-negative, integers. Previously, handling these integers would
98
+
result in improper rounding or data-type casting, leading to incorrect results.
99
+
Notably, a new numerical index, ``UInt64Index``, has been created (:issue:`14937`)
100
+
101
+
.. ipython:: python
102
+
103
+
idx = pd.UInt64Index([1, 2, 3])
104
+
df = pd.DataFrame(['a', 'b', 'c'], index=idx)
105
+
df.index
106
+
107
+
- Bug in converting object elements of array-like objects to unsigned 64-bit integers (:issue:`4471`, :issue:`14982`)
108
+
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:issue:`14721`)
109
+
- Bug in ``DataFrame`` construction in which unsigned 64-bit integer elements were being converted to objects (:issue:`14881`)
110
+
- Bug in ``pd.read_csv()`` in which unsigned 64-bit integer elements were being improperly converted to the wrong data types (:issue:`14983`)
111
+
- Bug in ``pd.unique()`` in which unsigned 64-bit integers were causing overflow (:issue:`14915`)
112
+
94
113
.. _whatsnew_0200.enhancements.other:
95
114
96
115
Other enhancements
@@ -297,8 +316,6 @@ Bug Fixes
297
316
298
317
- Bug in ``Index`` power operations with reversed operands (:issue:`14973`)
299
318
- Bug in ``TimedeltaIndex`` addition where overflow was being allowed without error (:issue:`14816`)
300
-
- Bug in ``DataFrame`` construction in which unsigned 64-bit integer elements were being converted to objects (:issue:`14881`)
301
-
- Bug in ``pd.read_csv()`` in which unsigned 64-bit integer elements were being improperly converted to the wrong data types (:issue:`14983`)
302
319
- Bug in ``astype()`` where ``inf`` values were incorrectly converted to integers. Now raises error now with ``astype()`` for Series and DataFrames (:issue:`14265`)
303
320
- Bug in ``DataFrame(..).apply(to_numeric)`` when values are of type decimal.Decimal. (:issue:`14827`)
304
321
- Bug in ``describe()`` when passing a numpy array which does not contain the median to the ``percentiles`` keyword argument (:issue:`14908`)
@@ -323,8 +340,6 @@ Bug Fixes
323
340
324
341
325
342
326
-
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:issue:`14721`)
327
-
- Bug in ``pd.unique()`` in which unsigned 64-bit integers were causing overflow (:issue:`14915`)
328
343
329
344
330
345
@@ -349,7 +364,6 @@ Bug Fixes
349
364
350
365
351
366
- Require at least 0.23 version of cython to avoid problems with character encodings (:issue:`14699`)
352
-
- Bug in converting object elements of array-like objects to unsigned 64-bit integers (:issue:`4471`, :issue:`14982`)
353
367
- Bug in ``pd.pivot_table()`` where no error was raised when values argument was not in the columns (:issue:`14938`)
354
368
- Bug in ``.to_json()`` where ``lines=True`` and contents (keys or values) contain escaped characters (:issue:`15096`)
0 commit comments