mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-06 17:31:53 +00:00
* #5633 adding comma every 1000 * pylint --------- Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user