Skip to content

Commit d94c1aa

Browse files
FelixAbrahamssonFelixAbrahamsson
authored andcommitted
improve: prettier metric table with mixed types
1 parent 7d9c491 commit d94c1aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lantern/metric_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def table(self):
3636
f"{self.name}:",
3737
textwrap.indent(
3838
(
39-
pd.Series(self.compute()).to_string(
39+
pd.Series(self.compute(), dtype=object).to_string(
4040
name=True, dtype=False, index=True
4141
)
4242
),

0 commit comments

Comments
 (0)