Read SAS files stored as either XPORT or SAS7BDAT format files.
Any valid string path is acceptable. The string could be a URL. Valid
URL schemes include http, ftp, s3, and file. For file URLs, a host is
expected. A local file could be:
If you want to pass in a path object, pandas accepts any
By file-like object, we refer to objects with a read() method,
such as a file handle (e.g. via builtin open function)
If None, file format is inferred from file extension. If ‘xport’ or
‘sas7bdat’, uses the corresponding format.
Identifier of column that should be used as index of the DataFrame.
Encoding for text data. If None, text data are stored as raw bytes.
Read file chunksize lines at a time, returns iterator.
Changed in version 1.2: TextFileReader is a context manager.
If True, returns an iterator for reading the file incrementally.