diff options
author | Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com> | 2023-05-19 20:27:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-19 18:27:09 +0000 |
commit | 9e610d449579206d6abd273f8b54e815fff31271 (patch) | |
tree | bec266312488b32964a3a879d2c53e28e6e8d6ca | |
parent | 80c7e027076ae53c2bfc1d59695becc69207aba3 (diff) |
Hotfix/edebt (#5046)
* Remove \n
* Fix column names
-rw-r--r-- | openbb_terminal/economy/commodity_view.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbb_terminal/economy/commodity_view.py b/openbb_terminal/economy/commodity_view.py index 3b3d0c15530..87e57291386 100644 --- a/openbb_terminal/economy/commodity_view.py +++ b/openbb_terminal/economy/commodity_view.py @@ -40,7 +40,7 @@ def display_debt(export: str = "", sheet_name: Optional[str] = None, limit: int debt_df = commodity_model.get_debt() if not get_current_user().preferences.USE_INTERACTIVE_DF: - for col in ["Debt", "Per Capita"]: + for col in ["USD Debt", "USD Per Capita"]: debt_df[col] = debt_df[col].apply(lambda x: format_large_numbers(x)) print_rich_table( |