[BugFix] Fix CLI Interactive Tables Not Opening (#6588)

* fix interactive tables not working

* pylint
This commit is contained in:
Danglewood
2024-07-17 08:08:13 -07:00
committed by GitHub
parent 869d917323
commit 504b69fe79
3 changed files with 28 additions and 25 deletions

View File

@@ -232,6 +232,8 @@ class PlatformController(BaseController):
fig = obbject.chart.fig if obbject.chart else None
if not export:
obbject.show()
elif session.settings.USE_INTERACTIVE_DF and not export:
obbject.charting.table()
else:
if isinstance(df.columns, pd.RangeIndex):
df.columns = [str(i) for i in df.columns]