Skip to content

DOC: RT03 fix for read_sql method #57638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.read_orc\
pandas.read_sas\
pandas.read_spss\
pandas.read_sql\
pandas.read_sql_query\
pandas.read_stata\
pandas.set_eng_float_format\
Expand Down
4 changes: 3 additions & 1 deletion pandas/io/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@ def read_sql(
Returns
-------
DataFrame or Iterator[DataFrame]
Returns a single DataFrame if applicable, or an Iterator
containing multiple DataFrames.

See Also
--------
Expand All @@ -625,7 +627,7 @@ def read_sql(
Examples
--------
Read data from SQL via either a SQL query or a SQL tablename.
When using a SQLite database only SQL queries are accepted,
When using a SQLite database, only SQL queries are accepted,
providing only the SQL tablename will result in an error.

>>> from sqlite3 import connect
Expand Down