I am trying to read a Stata (.dta
) file in Python with pandas.read_stata
, But I'm getting this error:
ValueError: Version of given Stata file is not 104, 105, 108, 111 (Stata 7SE), 113 (Stata 8/9), 114 (Stata 10/11), 115 (Stata 12), 117 (Stata 13), or 118 (Stata 14)
Please advise.
<stata_dta><header><release>118</release>
and the release must be one of the values given in theread_stata
error message.