ensure everything on the dataframe is a string (#6351)

This commit is contained in:
Henrique Joaquim
2024-04-29 17:08:42 +01:00
committed by GitHub
parent a502766d01
commit 4105ec4e01

View File

@@ -498,6 +498,9 @@ def print_rich_table( # noqa: PLR0912
if col == "":
df_outgoing = df_outgoing.rename(columns={col: " "})
# ensure everything on the dataframe is a string
df_outgoing = df_outgoing.applymap(str)
_get_backend().send_table(
df_table=df_outgoing,
title=title,