Reads and Writes SAS, SPSS and Stata files into/from pandas and polars data frames.
Actively maintained. Last release 2 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install pyreadstatA Python package to read and write SAS
(sas7bdat, sas7bcat, xport/xpt), SPSS (sav, zsav, por) and Stata (dta) files into/from pandas and polars data frames. It is a wrapper
around the C library readstat.
Please visit out project home page for more information:
https://github.com/Roche/pyreadstat