diff --git a/pandas/core/generic.py b/pandas/core/generic.py index f88c26c7bc782..3ba805fa71e8a 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2646,6 +2646,10 @@ def to_sql( con : sqlalchemy.engine.Engine or sqlite3.Connection Using SQLAlchemy makes it possible to use any DB supported by that library. Legacy support is provided for sqlite3.Connection objects. + + Closing the connection is handled by the SQLAlchemy Engine. See `here \ + `_ + schema : str, optional Specify the schema (if database flavor supports this). If None, use default schema. diff --git a/pandas/io/sql.py b/pandas/io/sql.py index e90e19649f645..57e9ae3de6b67 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -362,6 +362,10 @@ def read_sql( Using SQLAlchemy makes it possible to use any DB supported by that library. If a DBAPI2 object, only sqlite3 is supported. + + Closing the connection is handled by the SQLAlchemy Engine. See `here \ + `_ + index_col : string or list of strings, optional, default: None Column(s) to set as index(MultiIndex). coerce_float : boolean, default True