-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
Closed
Labels
Needs InfoClarification about behavior needed to assess issueClarification about behavior needed to assess issue
Description
Feature Type
-
Adding new functionality to pandas
-
Changing existing functionality in pandas
-
Removing existing functionality in pandas
Problem Description
When using connection objects in pd.read_sql()
, if non sqlalchemy engine objects are passed to the con
argument, it raises this warning:
UserWarning: pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.
Feature Description
Get rid of the warning. It is clearly not relevant anymore. See #51015. I can use "untested" objects that work so I don't think this warning has any utility.
Alternative Solutions
Fix pd.read_sql()
so that the engine object from sqlalchemy > 2.0 works.
Additional Context
No response
blakete
Metadata
Metadata
Assignees
Labels
Needs InfoClarification about behavior needed to assess issueClarification about behavior needed to assess issue