summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2018-12-18 11:49:16 +0200
committerGitHub <noreply@github.com>2018-12-18 11:49:16 +0200
commitc409aa228b579cbf944288a826dee4feed81e210 (patch)
treeb1576d28c2559f677cb828b8c4db53af5502c3e4
parent982f12b9c6ed22079a3f358afe35ab75e3521490 (diff)
parenteac2334d2e51a4960b82cc2ed9e47e10f5d767c6 (diff)
downloadnumpy-c409aa228b579cbf944288a826dee4feed81e210.tar.gz
Merge pull request #12584 from iljah/patch-1
DOC: Clarify skiprows in loadtxt
-rw-r--r--numpy/lib/npyio.py2
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.