mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 02:33:10 +00:00
[BugFix] Empty views on econometrics and quantitative (#6353)
* ensure everything on the dataframe is a string * stringify columns of dataframe
This commit is contained in:
@@ -171,6 +171,8 @@ class PlatformController(BaseController):
|
||||
|
||||
elif hasattr(obbject, "to_dataframe"):
|
||||
df = obbject.to_dataframe()
|
||||
if isinstance(df.columns, pd.RangeIndex):
|
||||
df.columns = [str(i) for i in df.columns]
|
||||
print_rich_table(df, show_index=True)
|
||||
|
||||
elif isinstance(obbject, dict):
|
||||
|
||||
Reference in New Issue
Block a user