get the row and col indices of names. If axis is None, two ndarrays
                are returned, corresponding the indices of names for each axis

        Parameters
        ----------
        names : iterable
            column and/or row names
        axis : (int) (optional)
            the axis to search.

        Returns
        -------
        numpy.ndarray : numpy.ndarray
            indices of names.

def indices(self, names, axis=None):
        """get the row and col indices of names. If axis is None, two ndarrays
                are returned, corresponding the indices of names for each axis

        Parameters
        ----------
        names : iterable
            column and/or row names
        axis : (int) (optional)
            the axis to search.

        Returns
        -------
        numpy.ndarray : numpy.ndarray
            indices of names.

        """
        return Matrix.find_rowcol_indices(names,self.row_names,self.col_names,axis=axis)