Skip to content

Commit

Permalink
DOC: Add versionchanged for converter callable behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbar authored and charris committed Jul 24, 2022
1 parent 71f271d commit 2acf28f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions numpy/lib/npyio.py
Expand Up @@ -1097,6 +1097,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
Expand Down

0 comments on commit 2acf28f

Please sign in to comment.