Stata to Pandas: even if there are repeated Value Labels?
问题 i try to open a .dta as DataFrame. But an Error appears: "ValueError: Value labels for column ... are not unique. The repeated labels are:" followed by labels wich apper twice in a column. I know labeling multiplie codes with the exact same value label in stata is not clever (not my fault :)) After some research i know, pandas will not accept repeated value labels (this IS clever). But i can't figure out a (good) solution: Is there: a. a smooth way to open the data with pandas and just rename