@Appender(_index_shared_docs['take'] * _index_doc_kwargs)
    def take(self, indices, axis=0, allow_fill=True, fill_value=None):
        indices = com._ensure_platform_int(indices)
        if self._can_hold_na:
            taken = self._assert_take_fillable(self.values, indices,
                                               allow_fill=allow_fill,
                                               fill_value=fill_value,
                                               na_value=self._na_value)
        else:
            if allow_fill and fill_value is not None:
                msg = 'Unable to fill values because {0} cannot contain NA'
                raise ValueError(msg.format(self.__class__.__name__))
            taken = self.values.take(indices)
        return self._shallow_copy(taken)
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.take/operator `%` -> `*`