[Numpy-discussion] Remove deprecated skiprows

Skipper Seabold jsseabold at gmail.com
Tue Apr 5 17:45:46 EDT 2011


On Sun, Apr 3, 2011 at 8:20 PM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
> 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 ;)
>

+1 for skiprows. I always have to look it up.

Skipper



More information about the NumPy-Discussion mailing list