You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAINT: Deprecate encoding from stata reader/writer (pandas-dev#21400)
Deprecate the encoding parameter from all Stata reading and writing
methods and classes. The encoding depends only on the file format and
cannot be changed by users.
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.24.0.txt
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Other API Changes
45
45
Deprecations
46
46
~~~~~~~~~~~~
47
47
48
-
-
48
+
- :meth:`DataFrame.to_stata`, :meth:`read_stata`, :class:`StataReader` and :class:`StataWriter` have deprecated the ``encoding`` argument. The encoding of a Stata dta file is determined by the file type and cannot be changed (:issue:`21244`).
0 commit comments