Week 1 error for 'Query data in Amazon Athena database cluster using the prepared SQL statement:'

When I execulte this query:

df_count_by_sentiment = wr.athena.read_sql_query(
sql=statement_count_by_sentiment,
database=database_name
)

print(df_count_by_sentiment)

There is an error:ImportError: cannot import name ‘VALID_CLOSED’ from ‘pandas.core.arrays.interval’ (/opt/conda/lib/python3.7/site-packages/pandas/core/arrays/interval.py)

Not sure any reason for this?

Hi @baron33,

Can you show show us a screenshot of the previous block? There might be an error with your sql query

May I know how you fixed this issue? I am facing the same error