def _slice2rows(self, start, stop, step=None):
nrows = self._info['<STR_LIT>']<EOL>if start is None:<EOL><INDENT>start = <NUM_LIT:0><EOL><DEDENT>if stop is None:<EOL><INDENT>stop = nrows<EOL><DEDENT>if step is None:<EOL><INDENT>step = <NUM_LIT:1><EOL><DEDENT>tstart = self._fix_range(start)<EOL>tstop = self._fix_range(stop)<EOL>if tstart == <NUM_LIT:0> and tstop == nrows:<EOL><INDENT>return None<EOL><DEDENT>if stop < start:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>return numpy.arange(tstart, tstop, step, dtype='<STR_LIT>')<EOL>
Convert a slice to an explicit array of rows