Skip to content

Commit

Permalink
code sample for pandas-dev#46384
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Mar 25, 2022
1 parent bb313e7 commit 24a3c64
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bisect/46384.py
@@ -0,0 +1,13 @@
# BUG: Styler renders booleans True/False as digits since 1.4.0 #46384

import pandas as pd

print(pd.__version__)

df = pd.DataFrame({"A": [True, False]})

result = df.style.to_html()
print(result)

assert "True" in result
assert "False" in result

0 comments on commit 24a3c64

Please sign in to comment.