summaryrefslogtreecommitdiffstats
path: root/openbb_terminal
diff options
context:
space:
mode:
authorRamazan <guvencramazan@outlook.com>2023-11-06 17:41:48 -0500
committerGitHub <noreply@github.com>2023-11-06 22:41:48 +0000
commit52190fb5ffe2fd9f97797d99f9516a28918d68d3 (patch)
treea95be52ce2736f6ea50d3900c7cef452e5a13a7f /openbb_terminal
parent04f0a63abfbb35103c42737b08e875c0ff8ccefb (diff)
#5633 adding comma every 1000 (#5652)
* #5633 adding comma every 1000 * pylint --------- Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Diffstat (limited to 'openbb_terminal')
-rw-r--r--openbb_terminal/cryptocurrency/discovery/cryptostats_view.py2
1 files changed, 1 insertions, 1 deletions
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(