Python Practice - Great Tables - not success on sample program

preview_player
Показать описание
Error I face:
Traceback (most recent call last):
Рекомендации по теме
Комментарии
Автор

The sp500 file seems to be working now. I added a little bit to the code, not really sure if it was necessary.

a=(
GT(sp500_mini)
.tab_header(title="S&P 500", subtitle=f"{start_date} to {end_date}")
.fmt_currency(columns=["open", "high", "low", "close"])
.fmt_date(columns="date", date_style="wd_m_day_year")
.fmt_number(columns="volume", compact=True)

)
GT.show(a)

sammartin
welcome to shbcf.ru