Skip to content

Commit 85374fd

Browse files
committed
Clarifying comment on label length
1 parent c31034d commit 85374fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/io/stata.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2232,8 +2232,8 @@ class StataWriter(StataParser):
22322232
22332233
value_labels : dict of dicts
22342234
Dictionary containing columns as keys and dictionaries of column value
2235-
to labels as values. Labels for a single variable must be 32,000
2236-
characters or smaller.
2235+
to labels as values. The combined length of all labels for a single
2236+
variable must be 32,000 characters or smaller.
22372237
22382238
Returns
22392239
-------
@@ -3163,8 +3163,8 @@ class StataWriter117(StataWriter):
31633163
31643164
value_labels : dict of dicts
31653165
Dictionary containing columns as keys and dictionaries of column value
3166-
to labels as values. Labels for a single variable must be 32,000
3167-
characters or smaller.
3166+
to labels as values. The combined length of all labels for a single
3167+
variable must be 32,000 characters or smaller.
31683168
31693169
Returns
31703170
-------
@@ -3561,8 +3561,8 @@ class StataWriterUTF8(StataWriter117):
35613561
35623562
value_labels : dict of dicts
35633563
Dictionary containing columns as keys and dictionaries of column value
3564-
to labels as values. Labels for a single variable must be 32,000
3565-
characters or smaller.
3564+
to labels as values. The combined length of all labels for a single
3565+
variable must be 32,000 characters or smaller.
35663566
35673567
Returns
35683568
-------

0 commit comments

Comments
 (0)