'Row and column indices of the i\'th bicluster.
Only works if ``rows_`` and ``columns_`` attributes exist.
Parameters
i : int
The index of the cluster.
Returns
row_ind : np.array, dtype=np.intp
Indices of rows in the dataset that belong to the bicluster.
col_ind : np.array, dtype=np.intp
Indices of columns in the dataset that belong to the bicluster.'

def get_indices(self, i):

    rows = self.rows_[i]
    columns = self.columns_[i]
    return (np.nonzero(rows)[0], np.nonzero(columns)[0])
