@@ -277,14 +277,14 @@ def read_sql_query(
277
277
278
278
Parameters
279
279
----------
280
- sql : string SQL query or SQLAlchemy Selectable (select or text object)
280
+ sql : str SQL query or SQLAlchemy Selectable (select or text object)
281
281
SQL query to be executed.
282
- con : SQLAlchemy connectable(engine/connection), database string URI,
282
+ con : SQLAlchemy connectable(engine/connection), database str URI,
283
283
or sqlite3 DBAPI2 connection
284
284
Using SQLAlchemy makes it possible to use any DB supported by that
285
285
library.
286
286
If a DBAPI2 object, only sqlite3 is supported.
287
- index_col : string or list of strings, optional, default: None
287
+ index_col : str or list of strings, optional, default: None
288
288
Column(s) to set as index(MultiIndex).
289
289
coerce_float : bool, default True
290
290
Attempts to convert values of non-string, non-numeric objects (like
@@ -355,18 +355,18 @@ def read_sql(
355
355
356
356
Parameters
357
357
----------
358
- sql : string or SQLAlchemy Selectable (select or text object)
358
+ sql : str or SQLAlchemy Selectable (select or text object)
359
359
SQL query to be executed or a table name.
360
- con : SQLAlchemy connectable (engine/connection) or database string URI
361
- or DBAPI2 connection (fallback mode)
360
+ con : SQLAlchemy connectable (engine/connection) or database str URI
361
+ or DBAPI2 connection (fallback mode)'
362
362
363
363
Using SQLAlchemy makes it possible to use any DB supported by that
364
364
library. If a DBAPI2 object, only sqlite3 is supported. The user is responsible
365
365
for engine disposal and connection closure for the SQLAlchemy connectable. See
366
366
`here <https://docs.sqlalchemy.org/en/13/core/connections.html>`_
367
- index_col : string or list of strings, optional, default: None
367
+ index_col : str or list of strings, optional, default: None
368
368
Column(s) to set as index(MultiIndex).
369
- coerce_float : boolean , default True
369
+ coerce_float : bool , default True
370
370
Attempts to convert values of non-string, non-numeric objects (like
371
371
decimal.Decimal) to floating point, useful for SQL result sets.
372
372
params : list, tuple or dict, optional, default: None
0 commit comments