From 52190fb5ffe2fd9f97797d99f9516a28918d68d3 Mon Sep 17 00:00:00 2001 From: Ramazan Date: Mon, 6 Nov 2023 17:41:48 -0500 Subject: #5633 adding comma every 1000 (#5652) * #5633 adding comma every 1000 * pylint --------- Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> --- openbb_terminal/cryptocurrency/discovery/cryptostats_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbb_terminal') diff --git a/openbb_terminal/cryptocurrency/discovery/cryptostats_view.py b/openbb_terminal/cryptocurrency/discovery/cryptostats_view.py index 385f2c33ed3..6cb03aceeb1 100644 --- a/openbb_terminal/cryptocurrency/discovery/cryptostats_view.py +++ b/openbb_terminal/cryptocurrency/discovery/cryptostats_view.py @@ -52,7 +52,7 @@ def display_fees( df = df.sort_values(sortby, ascending=ascend) if "One Day Fees" in df.columns: - one_day_fees = df.pop("One Day Fees") + one_day_fees = df.pop("One Day Fees").map(lambda x: f"{x:,.2f}") df.insert(len(df.columns), "One Day Fees", one_day_fees) print_rich_table( -- cgit v1.2.3