diff options
author | Yaron de Leeuw <jarondl@server.fake> | 2013-09-29 10:35:21 +0300 |
---|---|---|
committer | Yaron de Leeuw <jarondl@server.fake> | 2014-02-28 09:18:16 +0200 |
commit | 803a75fca8e814b9ba46aef585eefeb94a16325d (patch) | |
tree | 10e234bddb2961c002025b6f720bf51a46f064ef /numpy/lib/nanfunctions.py | |
parent | 8c4d9bedd9d85d86c41f956cdb5140e112c2ac08 (diff) | |
download | numpy-803a75fca8e814b9ba46aef585eefeb94a16325d.tar.gz |
MAINT (API?): organize npyio.recfromcsv defaults
Organizes the default kwargs in recfromcsv. Changes two undocumented
kwargs behaviors:
* previously, if a user set `names=None`, it was ignored and replaced
with `names=True`
* the `dtype` kwarg was ignored. If `update` was given, it was used as
`dtype`, and if not, None was used. We can retain the `update` behavior
by using `kwargs.setdefault("dtype",kwargs.get('update', None))`.
This Closes #311 .
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions