mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Fix etf/fds function (#962)
* Fix etf/fds function * improv from user comment * fix lint
This commit is contained in:
4
TROUBLESHOOT.md
vendored
4
TROUBLESHOOT.md
vendored
@@ -41,8 +41,8 @@ programming skills.
|
|||||||
|
|
||||||
### Microsoft Visual C++
|
### Microsoft Visual C++
|
||||||
|
|
||||||
If your terminal has too many red error lines, it is likely that this is the issue. Go to this page and install the c++
|
If your terminal has too many red error lines, it is likely that this is the issue.
|
||||||
build tools:
|
Go to this page and install the 2019 Build Tools (not the latest):
|
||||||
<https://answers.microsoft.com/en-us/windows/forum/windows_other-windows_install/microsoft-visual-c-140/6f0726e2-6c32-4719-9fe5-aa68b5ad8e6d>
|
<https://answers.microsoft.com/en-us/windows/forum/windows_other-windows_install/microsoft-visual-c-140/6f0726e2-6c32-4719-9fe5-aa68b5ad8e6d>
|
||||||
|
|
||||||
### Wheel
|
### Wheel
|
||||||
|
|||||||
@@ -56,9 +56,7 @@ def show_etfs(
|
|||||||
["long_name", "family", "category", "total_assets"]
|
["long_name", "family", "category", "total_assets"]
|
||||||
]
|
]
|
||||||
tabulate_data_sorted = tabulate_data.sort_values(by="total_assets", ascending=False)
|
tabulate_data_sorted = tabulate_data.sort_values(by="total_assets", ascending=False)
|
||||||
tabulate_data_sorted["total_assets"] = (
|
tabulate_data_sorted["total_assets"] = tabulate_data_sorted["total_assets"] / 1e6
|
||||||
tabulate_data_sorted["total_assets [M]"] / 1e6
|
|
||||||
)
|
|
||||||
|
|
||||||
if gtff.USE_TABULATE_DF:
|
if gtff.USE_TABULATE_DF:
|
||||||
print(
|
print(
|
||||||
|
|||||||
Reference in New Issue
Block a user