diff options
author | Ilja <ilja.honkonen@fmi.fi> | 2018-12-18 11:02:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 11:02:25 +0200 |
commit | eac2334d2e51a4960b82cc2ed9e47e10f5d767c6 (patch) | |
tree | b1576d28c2559f677cb828b8c4db53af5502c3e4 /numpy/lib/npyio.py | |
parent | 982f12b9c6ed22079a3f358afe35ab75e3521490 (diff) | |
download | numpy-eac2334d2e51a4960b82cc2ed9e47e10f5d767c6.tar.gz |
Clarify skiprows in loadtxt
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index e98c33e29..704fea108 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -829,7 +829,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, `genfromtxt`): ``converters = {3: lambda s: float(s.strip() or 0)}``. Default: None. skiprows : int, optional - Skip the first `skiprows` lines; default: 0. + Skip the first `skiprows` lines, including comments; default: 0. usecols : int or sequence, optional Which columns to read, with 0 being the first. For example, ``usecols = (1,4,5)`` will extract the 2nd, 5th and 6th columns. |