By the way, Stata could already import and export Excel files; see [D] import excel. 14. Searching is better. Here's why: a. Help > Search... and the search command now default to searching the Internet as well as Stata's local keyword database. If you do not want that, type ...
Having the same issue just today. Changing line 1339 fromsite-packages/pandas/io/stata.pyfixed it: def_null_terminate(self,s):# have bytes not strings, so must decodes=s.partition(b"\0")[0]returns.decode('latin-1')# instead of s.decode(self._encoding) )[0]s.decode()...