We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8349816 commit 9ac31afCopy full SHA for 9ac31af
tests/test_frame.py
@@ -1718,7 +1718,7 @@ def _formatter(x) -> str:
1718
),
1719
str,
1720
)
1721
- check(assert_type(df.to_string(float_format=".2%"), str), str)
+ check(assert_type(df.to_string(float_format="%.2f"), str), str)
1722
1723
1724
def test_types_to_html() -> None:
tests/test_series.py
@@ -2953,7 +2953,8 @@ def _formatter(x) -> str:
2953
2954
2955
2956
- check(assert_type(sr.to_string(float_format=".2%"), str), str)
+ check(assert_type(sr.to_string(float_format="%.2f"), str), str)
2957
2958
2959
2960
def test_types_mask() -> None:
0 commit comments