Skip to content

Commit 12405f6

Browse files
committed
Update whatsnew and make it a separate test
1 parent a328990 commit 12405f6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ Other
789789
- Bug in :meth:`Series.dt` methods in :class:`ArrowDtype` that were returning incorrect values. (:issue:`57355`)
790790
- Bug in :meth:`Series.rank` that doesn't preserve missing values for nullable integers when ``na_option='keep'``. (:issue:`56976`)
791791
- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` inconsistently replacing matching instances when ``regex=True`` and missing values are present. (:issue:`56599`)
792+
- Bug in :meth:`Series.to_string` when series contains complex floats with exponents (:issue:`60405`)
792793
- Bug in :meth:`read_csv` where chained fsspec TAR file and ``compression="infer"`` fails with ``tarfile.ReadError`` (:issue:`60028`)
793794
- Bug in Dataframe Interchange Protocol implementation was returning incorrect results for data buffers' associated dtype, for string and datetime columns (:issue:`54781`)
794795
- Bug in ``Series.list`` methods not preserving the original :class:`Index`. (:issue:`58425`)

pandas/tests/io/formats/test_to_string.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ def test_to_string_complex_float_formatting(self):
422422
)
423423
assert result == expected
424424

425+
def test_to_string_complex_float_formatting_with_exponents(self):
425426
# GH #60393
426427
with option_context("display.precision", 6):
427428
df = DataFrame(

0 commit comments

Comments
 (0)