diff options
-rw-r--r-- | doc/release/1.9.0-notes.rst | 6 | ||||
-rw-r--r-- | numpy/lib/npyio.py | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/release/1.9.0-notes.rst b/doc/release/1.9.0-notes.rst index d674552a3..c65cfc04c 100644 --- a/doc/release/1.9.0-notes.rst +++ b/doc/release/1.9.0-notes.rst @@ -207,6 +207,12 @@ is being casted. Previously the casting was allowed even if the result was truncated. +`npyio.recfromcsv` keyword arguments change +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`npyio.recfromcsv` no longer accepts the undocumented `update` keyword, +which used to override the `dtype` keyword. + + C-API ~~~~~ diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 341008c9e..84d4c35bd 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -1871,6 +1871,11 @@ def recfromcsv(fname, **kwargs): -------- numpy.genfromtxt : generic function to load ASCII data. + Notes + ----- + By default, `dtype` is None, which means that the data-type of the output + array will be determined from the data. + """ # Set default kwargs as relevant to csv import. # These seem to be undocumented. (case_sensitive is mentioned in basics.io) |