File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -6799,8 +6799,8 @@ is the number of characters in each string. Will be converted to
67996799an array of characters (datatype `'S1'` or `'U1'`) of shape `a.shape + (N,)`.
68006800
68016801optional kwarg `encoding` can be used to specify character encoding (default
6802- `utf-8`). If `encoding` is 'none' or 'bytes', a `numpy.string_` the input array
6803- is treated a raw byte strings (`numpy.string_`).
6802+ `utf-8` for dtype=`'UN'` or `ascii` for dtype=`'SN'` ). If `encoding` is 'none' or 'bytes',
6803+ a `numpy.string_` the input array is treated a raw byte strings (`numpy.string_`).
68046804
68056805optional kwarg `n_strlen` is the number of characters in each string. Default
68066806is None, which means `n_strlen` will be set to a.itemsize (the number of bytes
@@ -6846,6 +6846,10 @@ optional kwarg `encoding` can be used to specify character encoding (default
68466846`utf-8`). If `encoding` is 'none' or 'bytes', a `numpy.string_` byte array is
68476847returned.
68486848
6849+ optional kwarg `encoding` can be used to specify character encoding (default
6850+ `utf-8` for dtype=`'UN'` or `ascii` for dtype=`'SN'`). If `encoding` is 'none' or 'bytes',
6851+ a `numpy.string_` byte array is returned.
6852+
68496853returns a numpy string array with datatype `'UN'` (or `'SN'`) and shape
68506854`b.shape[:-1]` where where `N=b.shape[-1]`."""
68516855 dtype = b.dtype.kind
You can’t perform that action at this time.
0 commit comments