summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 7c19b5616..e62447eb0 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -1085,9 +1085,13 @@ 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 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.
+ The character used to separate the values. For backwards compatibility,
+ byte strings will be decoded as 'latin1'. The default is whitespace.
+
+ .. versionchanged:: 1.23.0
+ Only single character delimiters are supported. Newline characters
+ cannot be used as the delimiter.
+
converters : dict or callable, optional
Converter functions to customize value parsing. If `converters` is
callable, the function is applied to all columns, else it must be a