MCPcopy
hub / github.com/pandas-dev/pandas / read_sql

Function read_sql

pandas/io/sql.py:510–521  ·  view source on GitHub ↗
(  # pyright: ignore[reportOverlappingOverload]
    sql,
    con,
    index_col: str | list[str] | None = ...,
    coerce_float=...,
    params=...,
    parse_dates=...,
    columns: list[str] = ...,
    chunksize: None = ...,
    dtype_backend: DtypeBackend | lib.NoDefault = ...,
    dtype: DtypeArg | None = None,
)

Source from the content-addressed store, hash-verified

508
509@overload
510def read_sql( # pyright: ignore[reportOverlappingOverload]
511 sql,
512 con,
513 index_col: str | list[str] | None = ...,
514 coerce_float=...,
515 params=...,
516 parse_dates=...,
517 columns: list[str] = ...,
518 chunksize: None = ...,
519 dtype_backend: DtypeBackend | lib.NoDefault = ...,
520 dtype: DtypeArg | None = None,
521) -> DataFrame: ...
522
523
524@overload

Callers 1

Calls 5

check_dtype_backendFunction · 0.90
pandasSQL_builderFunction · 0.85
read_queryMethod · 0.45
has_tableMethod · 0.45
read_tableMethod · 0.45

Tested by 1