code: def take_table(tbl, indices, axis=None, out=None, mode='raise', blen=None, storage=None,
                 create='table', **kwargs):
      
  
      # setup
      if axis is not None and axis != 0:
          raise NotImplementedError('only axis 0 is supported')
      if out is not None:
          # argument is only there for numpy API compatibility
          raise NotImplementedError('out argument is not supported')
      if mode is not None and mode != 'raise':
          raise NotImplementedError('only mode=raise is supported')
      names, columns = _util.check_table_like(tbl)
      length = len(columns[0])
  
      # check that indices are strictly increasing
      indices = np.asanyarray(indices)
      if np.any(indices[1:] <= indices[:-1]):
          raise NotImplementedError(
              'indices must be strictly increasing'
          )
  
      # implement via compress()
      condition = np.zeros((length,), dtype=bool)
      condition[indices] = True
      return compress_table(condition, tbl, blen=blen, storage=storage,
                            create=create, **kwargs)
docs: Return selected rows of a table.