Skip to content

Commit 14baf9f

Browse files
author
AntonioAndraues
committed
change to IO and add comment
1 parent 9896176 commit 14baf9f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v1.0.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ I/O
317317
- Bug in :func:`read_hdf` closing stores that it didn't open when Exceptions are raised (:issue:`28699`)
318318
- Bug in :meth:`DataFrame.read_json` where using ``orient="index"`` would not maintain the order (:issue:`28557`)
319319
- Bug in :meth:`DataFrame.to_html` where the length of the ``formatters`` argument was not verified (:issue:`28469`)
320+
- Bug in :meth:`pandas.io.formats.style.Styler` formatting for floating values not displaying decimals correctly (:issue:`13257`)
320321

321322
Plotting
322323
^^^^^^^^
@@ -371,7 +372,6 @@ Other
371372
- Bug in :meth:`Series.diff` where a boolean series would incorrectly raise a ``TypeError`` (:issue:`17294`)
372373
- :meth:`Series.append` will no longer raise a ``TypeError`` when passed a tuple of ``Series`` (:issue:`28410`)
373374
- Fix corrupted error message when calling ``pandas.libs._json.encode()`` on a 0d array (:issue:`18878`)
374-
- Bug in :meth:`pandas.io.formats.style.Styler` formatting for floating values not displaying decimals correctly (:issue:`13257`)
375375

376376
.. _whatsnew_1000.contributors:
377377

pandas/tests/io/formats/test_style.py

+1
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,7 @@ def test_display_format_raises(self):
11581158
df.style.format(True)
11591159

11601160
def test_display_set_precision(self):
1161+
# Issue #13257
11611162
df = pd.DataFrame(data=[[1.0, 2.0090], [3.2121, 4.566]], columns=["a", "b"])
11621163
s = Styler(df)
11631164

0 commit comments

Comments
 (0)