[Numpy-discussion] Remove deprecated skiprows

Charles R Harris charlesr.harris at gmail.com
Sun Apr 3 20:20:24 EDT 2011


Should skiprows be removed?

    if skiprows:
        warnings.warn(\
            "The use of `skiprows` is deprecated, it will be removed in
numpy 2.0.\n" \
            "Please use `skip_header` instead.",
            DeprecationWarning)
        skip_header = skiprows

Its been deprecated since 1.4. Personally, I like skiprows better than
skip_header ;)

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110403/219641b5/attachment.html>


More information about the NumPy-Discussion mailing list