Skip to content

Commit ba64039

Browse files
Doc: Fix RT03 errors for read_orc, read_sas, read_spss, read_stata (#57801)
Fix RT03 errors for read_orc, read_sas, read_spss, read_stata
1 parent a78a22f commit ba64039

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

ci/code_checks.sh

-4
Original file line numberDiff line numberDiff line change
@@ -840,10 +840,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
840840
pandas.plotting.parallel_coordinates\
841841
pandas.plotting.radviz\
842842
pandas.plotting.table\
843-
pandas.read_orc\
844-
pandas.read_sas\
845-
pandas.read_spss\
846-
pandas.read_stata\
847843
pandas.set_eng_float_format # There should be no backslash in the final line, please keep this comment in the last ignored function
848844
RET=$(($RET + $?)) ; echo $MSG "DONE"
849845

pandas/io/orc.py

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def read_orc(
8383
Returns
8484
-------
8585
DataFrame
86+
DataFrame based on the ORC file.
8687
8788
Notes
8889
-----

pandas/io/sas/sasreader.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ def read_sas(
119119
120120
Returns
121121
-------
122-
DataFrame if iterator=False and chunksize=None, else SAS7BDATReader
123-
or XportReader
122+
DataFrame, SAS7BDATReader, or XportReader
123+
DataFrame if iterator=False and chunksize=None, else SAS7BDATReader
124+
or XportReader, file format is inferred from file extension.
124125
125126
Examples
126127
--------

pandas/io/spss.py

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def read_spss(
5050
Returns
5151
-------
5252
DataFrame
53+
DataFrame based on the SPSS file.
5354
5455
Examples
5556
--------

pandas/io/stata.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@
161161
162162
Returns
163163
-------
164-
DataFrame or pandas.api.typing.StataReader
164+
DataFrame, pandas.api.typing.StataReader
165+
If iterator or chunksize, returns StataReader, else DataFrame.
165166
166167
See Also
167168
--------

0 commit comments

Comments
 (0)