diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2022-10-03 10:24:44 -0700 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2022-10-03 10:24:44 -0700 |
commit | a1fd7b6a791ff804007d07a4831388837022e1c0 (patch) | |
tree | 05ff6fe8bf1c0895a6be467e90037ab8047c0e8c /numpy/lib | |
parent | 25ed0312cfbbddb60aa8f1491248f03f9eca5caa (diff) | |
download | numpy-a1fd7b6a791ff804007d07a4831388837022e1c0.tar.gz |
DOC: Update delimiter param description.
Explicitly state that only single-character delimiters
are supported.
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/npyio.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 89b01c845..7c19b5616 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -1085,7 +1085,8 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, comment. None implies no comments. For backwards compatibility, byte strings will be decoded as 'latin1'. The default is '#'. delimiter : str, optional - The string used to separate values. For backwards compatibility, byte + The character used to separate the values. Only single character + delimiters are supported. For backwards compatibility, byte strings will be decoded as 'latin1'. The default is whitespace. converters : dict or callable, optional Converter functions to customize value parsing. If `converters` is |