Skip to content

Commit 23aec3a

Browse files
authored
DOC: updated io/sql.py for PR08 errors (#34646)
1 parent 5d8f05a commit 23aec3a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

pandas/io/sql.py

+3-7
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,9 @@ def read_sql_query(
332332
----------
333333
sql : str SQL query or SQLAlchemy Selectable (select or text object)
334334
SQL query to be executed.
335-
con : SQLAlchemy connectable(engine/connection), database str URI,
336-
or sqlite3 DBAPI2 connection
335+
con : SQLAlchemy connectable, str, or sqlite3 connection
337336
Using SQLAlchemy makes it possible to use any DB supported by that
338-
library.
339-
If a DBAPI2 object, only sqlite3 is supported.
337+
library. If a DBAPI2 object, only sqlite3 is supported.
340338
index_col : str or list of str, optional, default: None
341339
Column(s) to set as index(MultiIndex).
342340
coerce_float : bool, default True
@@ -438,9 +436,7 @@ def read_sql(
438436
----------
439437
sql : str or SQLAlchemy Selectable (select or text object)
440438
SQL query to be executed or a table name.
441-
con : SQLAlchemy connectable (engine/connection) or database str URI
442-
or DBAPI2 connection (fallback mode).
443-
439+
con : SQLAlchemy connectable, str, or sqlite3 connection
444440
Using SQLAlchemy makes it possible to use any DB supported by that
445441
library. If a DBAPI2 object, only sqlite3 is supported. The user is responsible
446442
for engine disposal and connection closure for the SQLAlchemy connectable. See

0 commit comments

Comments
 (0)