def _get_skiprows(skiprows):
if isinstance(skiprows, slice):<EOL><INDENT>return lrange(skiprows.start or <NUM_LIT:0>, skiprows.stop, skiprows.step or <NUM_LIT:1>)<EOL><DEDENT>elif isinstance(skiprows, numbers.Integral) or is_list_like(skiprows):<EOL><INDENT>return skiprows<EOL><DEDENT>elif skiprows is None:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>raise TypeError('<STR_LIT>' %<EOL>type(skiprows).__name__)<EOL>
Get an iterator given an integer, slice or container.

    Parameters
    ----------
    skiprows : int, slice, container
        The iterator to use to skip rows; can also be a slice.

    Raises
    ------
    TypeError
        * If `skiprows` is not a slice, integer, or Container

    Returns
    -------
    it : iterable
        A proper iterator to use to skip rows of a DataFrame.