Skip to content

Commit ed3d145

Browse files
toobazjreback
authored andcommitted
DOC: strings longer than min_itemsize are not truncated
Fixed docs on min_itemsize Author: Pietro Battiston <[email protected]> Closes #12251 from toobaz/minitemsizedoc and squashes the following commits: 4009789 [Pietro Battiston] DOC: strings longer than min_itemsize are not truncated
1 parent f9e5069 commit ed3d145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/io.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2902,8 +2902,8 @@ Storing Mixed Types in a Table
29022902
++++++++++++++++++++++++++++++
29032903

29042904
Storing mixed-dtype data is supported. Strings are stored as a
2905-
fixed-width using the maximum size of the appended column. Subsequent
2906-
appends will truncate strings at this length.
2905+
fixed-width using the maximum size of the appended column. Subsequent attempts
2906+
at appending longer strings will raise a ``ValueError``.
29072907

29082908
Passing ``min_itemsize={`values`: size}`` as a parameter to append
29092909
will set a larger minimum for the string columns. Storing ``floats,

0 commit comments

Comments
 (0)