diff options
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/npyio.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 471f85976..237d7e4ef 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -1095,6 +1095,11 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, data, e.g. ``converters = lambda s: float(s.strip() or 0)`` will convert empty fields to 0. Default: None. + + .. versionchanged:: 1.23.0 + The ability to pass a single callable to be applied to all columns + was added. + skiprows : int, optional Skip the first `skiprows` lines, including comments; default: 0. usecols : int or sequence, optional |