summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-02-27 10:23:18 -0700
committerCharles Harris <charlesr.harris@gmail.com>2014-02-27 10:23:18 -0700
commit8c4d9bedd9d85d86c41f956cdb5140e112c2ac08 (patch)
tree14596cf9cb647dd66049908404e55dc36f608c02 /numpy/lib/npyio.py
parent3a2f048b830822e8395f0d42c42b8fd395a14204 (diff)
parenta0470bc303f760ee7f14e2d73d150f94599e5692 (diff)
downloadnumpy-8c4d9bedd9d85d86c41f956cdb5140e112c2ac08.tar.gz
Merge pull request #4383 from argriffing/more-versionadded
DOC: some versionadded notes
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index af259cfef..8cd779f4d 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -668,6 +668,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None,
The returned array will have at least `ndmin` dimensions.
Otherwise mono-dimensional axes will be squeezed.
Legal values: 0 (default), 1 or 2.
+
.. versionadded:: 1.6.0
Returns
@@ -911,14 +912,17 @@ def savetxt(fname, X, fmt='%.18e', delimiter=' ', newline='\n', header='',
.. versionadded:: 1.5.0
header : str, optional
String that will be written at the beginning of the file.
+
.. versionadded:: 1.7.0
footer : str, optional
String that will be written at the end of the file.
+
.. versionadded:: 1.7.0
comments : str, optional
String that will be prepended to the ``header`` and ``footer`` strings,
to mark them as comments. Default: '# ', as expected by e.g.
``numpy.loadtxt``.
+
.. versionadded:: 1.7.0
Character separating lines.