StataReader.variable_labels() does not read variable label correctly for stata datasets saved under Stata 13 using 'save' (but it can read datasets saved using 'saveold') · Issue #7816 · pandas-dev/pandas (original) (raw)

If I use SataReader to read a Stata dataset saved in Stata 13 using the save command, I can get the data but not the variable labels.

If, however, I use the saveold command in Stata 13, I am able to get the variable labels in Python3 using StataReader.variable_labels().

Can anyone suggest how to accommodate Stata 13? Thanks,