Skip to content

Commit 4ee08b4

Browse files
authored
DOC: Fix file extension in docstring of read_sas (#51428)
The ".sas" file extension refers to a program file and not a SAS data set.
1 parent bb6fb4e commit 4ee08b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/sas/sasreader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def read_sas(
104104
object implementing a binary ``read()`` function. The string could be a URL.
105105
Valid URL schemes include http, ftp, s3, and file. For file URLs, a host is
106106
expected. A local file could be:
107-
``file://localhost/path/to/table.sas``.
107+
``file://localhost/path/to/table.sas7bdat``.
108108
format : str {{'xport', 'sas7bdat'}} or None
109109
If None, file format is inferred from file extension. If 'xport' or
110110
'sas7bdat', uses the corresponding format.

0 commit comments

Comments
 (0)