summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorjarondl <jarondl@users.noreply.github.com>2014-03-12 08:57:54 +0200
committerjarondl <jarondl@users.noreply.github.com>2014-03-12 08:57:54 +0200
commitaff43c0cb10796de7d6dfcc23bc27607ad2aacba (patch)
tree42960febfa7706864ade989485613773ce1f222e /numpy/lib/npyio.py
parent39f11331744aeb6d8e8cd3c557a1e107d0dac816 (diff)
downloadnumpy-aff43c0cb10796de7d6dfcc23bc27607ad2aacba.tar.gz
STY: change and delete some comments in recfromcsv
Removed two irrelevant comments about code history. P.S. my first try with Github's online editor.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 84d4c35bd..d47a9ffd2 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -1877,15 +1877,11 @@ def recfromcsv(fname, **kwargs):
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)
+ # Set default kwargs for genfromtxt as relevant to csv import.
kwargs.setdefault("case_sensitive", "lower")
- # previously, names were set to True if they were not set or if they
- # were set to None, overriding the user's choice.
kwargs.setdefault("names", True)
kwargs.setdefault("delimiter", ",")
kwargs.setdefault("dtype", None)
-
output = genfromtxt(fname, **kwargs)
usemask = kwargs.get("usemask", False)