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
BUG: Fixed DataFrame.__repr__ Type Error when column dtype is np.record (GH 48526) (#48637)
* BUG: Fixed repr type error when column in np.record
* Reallocated the test to proposed destination and test the repr of the frame
* Assert has gone missing due to merge conflict
* Added new function that handles np.recarrays in _isna_array
* Addes 2 more tests + refined _isna_recarray_dtype + formatting fixed
* Reworked isna_recarray_dtype method + Added test for inf value
* Pre-commit fix
* Fixing typing
* Fixed formatting
* Fixed pyright error
---------
Co-authored-by: RaphSku <[email protected]>
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v2.1.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -318,6 +318,7 @@ Conversion
318
318
^^^^^^^^^^
319
319
- Bug in :func:`DataFrame.style.to_latex` and :func:`DataFrame.style.to_html` if the DataFrame contains integers with more digits than can be represented by floating point double precision (:issue:`52272`)
320
320
- Bug in :meth:`ArrowDtype.numpy_dtype` returning nanosecond units for non-nanosecond ``pyarrow.timestamp`` and ``pyarrow.duration`` types (:issue:`51800`)
321
+
- Bug in :meth:`DataFrame.__repr__` incorrectly raising a ``TypeError`` when the dtype of a column is ``np.record`` (:issue:`48526`)
321
322
- Bug in :meth:`DataFrame.info` raising ``ValueError`` when ``use_numba`` is set (:issue:`51922`)
0 commit comments