I am trying to access a .sav (spss) file which I had opened last year (I don't remember how) but I can't. What can be wrong?
Here is my attempt:
data = pd.read_spss('eleghos_symperiforas.sav')
---------------------------------------------------------------------------
ReadstatError Traceback (most recent call last)
<ipython-input-46-a3e3803835b2> in <module>
----> 1 data = pd.read_spss('eleghos_symperiforas.sav')
~\Anaconda3\envs\tf2\lib\site-packages\pandas\io\spss.py in read_spss(path, usecols, convert_categoricals)
41
42 df, _ = pyreadstat.read_sav(
---> 43 path, usecols=usecols, apply_value_formats=convert_categoricals
44 )
45 return df
pyreadstat\pyreadstat.pyx in pyreadstat.pyreadstat.read_sav()
pyreadstat\_readstat_parser.pyx in pyreadstat._readstat_parser.run_conversion()
pyreadstat\_readstat_parser.pyx in pyreadstat._readstat_parser.run_readstat_parser()
pyreadstat\_readstat_parser.pyx in pyreadstat._readstat_parser.check_exit_status()
ReadstatError: Invalid file, or file has unsupported features
What would you suggest to do? The file is not corrupt because I got it again from a third source.