diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-06-20 14:42:12 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-06-21 13:46:12 -0600 |
commit | a27f56069fb883c44dd4986d15e751162d85b621 (patch) | |
tree | aef8812adfaf9e9830b87cc6f18bf31a8228b3df /numpy/lib/npyio.py | |
parent | e22ae7421cfc65547b9e9e2dd7d296ca9d655efa (diff) | |
download | numpy-a27f56069fb883c44dd4986d15e751162d85b621.tar.gz |
DEP: Add notes to some deprecations.
Some keywords are deprecated and slated for removal in numpy 2.0.
Add comment to deprecation date to clarify that.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 4ad774f1f..ac6d46a71 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -1515,7 +1515,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None, # Get the first valid lines after the first skiprows ones .. if skiprows: - # 2011-03-06 RemoveMe + # 2011-03-06 Cannot remove is keyword. warnings.warn( "The use of `skiprows` is deprecated, it will be removed in " "numpy 2.0.\nPlease use `skip_header` instead.", @@ -1651,7 +1651,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None, # Process the deprecated `missing` if missing != asbytes(''): - # 2011-03-06 RemoveMe + # 2011-03-06 Cannot remove, is keyword. warnings.warn( "The use of `missing` is deprecated, it will be removed in " "Numpy 2.0.\nPlease use `missing_values` instead.", |