pyreadstat icon indicating copy to clipboard operation
pyreadstat copied to clipboard

Python package to read sas, spss and stata files into pandas data frames. It is a wrapper for the C library readstat.

Results 27 pyreadstat issues
Sort by recently updated
recently updated
newest added

Describe the issue According to the [documentation for xpt metadata](https://ofajardo.github.io/pyreadstat_documentation/_build/html/index.html#metadata-object-description), `number_rows` cannot be determined unless the entire dataset is read. I understand that `number_rows` cannot be extracted from the metadata...

requires changes in Readstat

Describe the issue Is it possible to have a Buffer from the file instead of writing it directly? I have a Flask endpoint running and am facing some problems due...

Hi, not sure how to tell if this is an issue in the c library or pyreadstat. Apologies if it is the former. As the title says, the "Values" column...

bug
requires changes in Readstat
to be reported in Readstat

pyreadstat.write_sav(df, "tmp/data.sav") should raise an error if the directory tmp does not exist. However, in reality, pyreadstat.write_sav neither saves the file nor provides any exception information. Please check. Thanks a...

arg1 = 'E:\\test\\single\\dta\\PRI_Basic.json' arg3 = 'E:\\test\\single\\dta\\PRI_Basic.dta' df = pd.read_json(arg1, dtype=dtype_dict, lines=True) pyreadstat.write_dta(df, arg3) The following error occurred: yreadstat._readstat_parser.ReadstatError: A provided string value was longer than the available storage size of...

enhancement

# Describe the issue I'd like to set up properly data format for strings. The problem is with format 'A500' (where number is bigger than 255) However format is properly...

bug
requires changes in Readstat
to be reported in Readstat

I'm working with a large dataset that has about 120,000 columns. When it's saved to pyreadstat it's messing up some of the variable names in the final SPSS. There's no...

bug
requires changes in Readstat
to be reported in Readstat