Skip to content

Commit b87dc8c

Browse files
committed
Add issue no. in test_format.py and add func ref
1 parent 831aa90 commit b87dc8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.24.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ Other API Changes
946946
- :class:`DateOffset` attribute `_cacheable` and method `_should_cache` have been removed (:issue:`23118`)
947947
- Comparing :class:`Timedelta` to be less or greater than unknown types now raises a ``TypeError`` instead of returning ``False`` (:issue:`20829`)
948948
- :meth:`Index.hasnans` and :meth:`Series.hasnans` now always return a python boolean. Previously, a python or a numpy boolean could be returned, depending on circumstances (:issue:`23294`).
949-
- The order of the arguments of `DataFrame.to_html` and `DataFrame.to_string` is rearranged. (:issue:`23614`)
949+
- :func:The order of the arguments of `DataFrame.to_html` and `DataFrame.to_string` is rearranged to be consistent with each other. (:issue:`23614`)
950950

951951
.. _whatsnew_0240.deprecations:
952952

pandas/tests/io/formats/test_format.py

+1
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,7 @@ def test_to_string_format_na(self):
14521452
assert result == expected
14531453

14541454
def test_to_string_decimal(self):
1455+
#Issue #23614
14551456
df = DataFrame({'A': [6.0, 3.1, 2.2]})
14561457
expected = ' A\n0 6,0\n1 3,1\n2 2,2'
14571458
assert df.to_string(decimal=',') == expected

0 commit comments

Comments
 (0)