Skip to content

Commit abe41e6

Browse files
YashpalAhlawatpmhatre1
authored andcommitted
DOC: RT03 fix for read_sql method (pandas-dev#57638)
* RT03 fix for read_sql method * Review suggestions implemented
1 parent de0fac2 commit abe41e6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
882882
pandas.read_orc\
883883
pandas.read_sas\
884884
pandas.read_spss\
885-
pandas.read_sql\
886885
pandas.read_sql_query\
887886
pandas.read_stata\
888887
pandas.set_eng_float_format\

pandas/io/sql.py

+3
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,9 @@ def read_sql(
608608
Returns
609609
-------
610610
DataFrame or Iterator[DataFrame]
611+
Returns a DataFrame object that contains the result set of the
612+
executed SQL query or an SQL Table based on the provided input,
613+
in relation to the specified database connection.
611614
612615
See Also
613616
--------

0 commit comments

Comments
 (0)