Pandas version checks
-
[X] I have checked that this issue has not already been reported.
-
[X] I have confirmed this bug exists on the latest version of pandas.
-
[X] I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
import pandas as pd
from sqlalchemy import create_engine, text
return pd.read_sql('select * from test', self.engineweb).set_index('id')
Issue Description
AttributeError: 'OptionEngine' object has no attribute 'execute'
Expected Behavior
success
Installed Versions
1.5.3
Comment From: phofl
Duplicate of #51015 and related