Skip to content

Commit bdf6434

Browse files
authored
DOC: Add caveat to to_stata with version=119 (#37700)
1 parent 6dd0c4e commit bdf6434

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/core/frame.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,6 +2131,11 @@ def to_stata(
21312131
support Unicode characters, and version 119 supports more than
21322132
32,767 variables.
21332133
2134+
Version 119 should usually only be used when the number of
2135+
variables exceeds the capacity of dta format 118. Exporting
2136+
smaller datasets in format 119 may have unintended consequences,
2137+
and, as of November 2020, Stata SE cannot read version 119 files.
2138+
21342139
.. versionchanged:: 1.0.0
21352140
21362141
Added support for formats 118 and 119.

0 commit comments

Comments
 (0)