diff options
author | Erik M. Bray <erik.bray@lri.fr> | 2016-05-06 13:22:05 +0200 |
---|---|---|
committer | Erik M. Bray <erik.bray@lri.fr> | 2016-05-31 16:34:38 +0200 |
commit | fd95d10f4d7ed8f3cb66e4f7e73c184be13f395e (patch) | |
tree | 223efa32c437495ef2f1dab3dff826936b3cba4f /numpy/lib/npyio.py | |
parent | ee02cdda6c8d135098baa1d5afe41fd4996d587c (diff) | |
download | numpy-fd95d10f4d7ed8f3cb66e4f7e73c184be13f395e.tar.gz |
STY: Misc whitespace cleanup.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 179dbd8da..426f6e823 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -89,7 +89,7 @@ class BagObj(object): def zipfile_factory(file, *args, **kwargs): """ Create a ZipFile. - + Allows for Zip64, and the `file` argument can accept file, str, or pathlib.Path objects. `args` and `kwargs` are passed to the zipfile.ZipFile constructor. @@ -743,12 +743,12 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, Skip the first `skiprows` lines; default: 0. usecols : int or sequence, optional - Which columns to read, with 0 being the first. For example, + Which columns to read, with 0 being the first. For example, usecols = (1,4,5) will extract the 2nd, 5th and 6th columns. The default, None, results in all columns being read. - + .. versionadded:: 1.11.0 - + Also when a single column has to be read it is possible to use an integer instead of a tuple. E.g ``usecols = 3`` reads the third column the same way as `usecols = (3,)`` would. |