Skip to content

Commit 24a3c64

Browse files
code sample for pandas-dev#46384
1 parent bb313e7 commit 24a3c64

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

bisect/46384.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# BUG: Styler renders booleans True/False as digits since 1.4.0 #46384
2+
3+
import pandas as pd
4+
5+
print(pd.__version__)
6+
7+
df = pd.DataFrame({"A": [True, False]})
8+
9+
result = df.style.to_html()
10+
print(result)
11+
12+
assert "True" in result
13+
assert "False" in result

0 commit comments

Comments
 (0)