Fix etf/fds function (#962)

* Fix etf/fds function

* improv from user comment

* fix lint
This commit is contained in:
DidierRLopes
2021-11-19 16:11:08 +00:00
committed by GitHub
parent 0d0f3dd3db
commit 146a58f5c1
2 changed files with 3 additions and 5 deletions

4
TROUBLESHOOT.md vendored
View File

@@ -41,8 +41,8 @@ programming skills.
### 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++
build tools:
If your terminal has too many red error lines, it is likely that this is the issue.
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>
### Wheel

View File

@@ -56,9 +56,7 @@ def show_etfs(
["long_name", "family", "category", "total_assets"]
]
tabulate_data_sorted = tabulate_data.sort_values(by="total_assets", ascending=False)
tabulate_data_sorted["total_assets"] = (
tabulate_data_sorted["total_assets [M]"] / 1e6
)
tabulate_data_sorted["total_assets"] = tabulate_data_sorted["total_assets"] / 1e6
if gtff.USE_TABULATE_DF:
print(