Skip to content

Doc: Fix RT03 errors for read_orc, read_sas, read_spss, read_stata #57801

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 3 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 0 additions & 4 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -845,10 +845,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.plotting.parallel_coordinates\
pandas.plotting.radviz\
pandas.plotting.table\
pandas.read_orc\
pandas.read_sas\
pandas.read_spss\
pandas.read_stata\
pandas.set_eng_float_format # There should be no backslash in the final line, please keep this comment in the last ignored function
RET=$(($RET + $?)) ; echo $MSG "DONE"

Expand Down
1 change: 1 addition & 0 deletions pandas/io/orc.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def read_orc(
Returns
-------
DataFrame
DataFrame based on the ORC file.
Notes
-----
Expand Down
5 changes: 3 additions & 2 deletions pandas/io/sas/sasreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ def read_sas(

Returns
-------
DataFrame if iterator=False and chunksize=None, else SAS7BDATReader
or XportReader
DataFrame, SAS7BDATReader, or XportReader
DataFrame if iterator=False and chunksize=None, else SAS7BDATReader
or XportReader, file format is inferred from file extension.

Examples
--------
Expand Down
1 change: 1 addition & 0 deletions pandas/io/spss.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def read_spss(
Returns
-------
DataFrame
DataFrame based on the SPSS file.

Examples
--------
Expand Down
3 changes: 2 additions & 1 deletion pandas/io/stata.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@

Returns
-------
DataFrame or pandas.api.typing.StataReader
DataFrame, pandas.api.typing.StataReader
If iterator or chunksize, returns StataReader, else DataFrame.

See Also
--------
Expand Down