def remove_terms_by_indices(self, idx_to_delete_list):
        '''
        Parameters
        ----------
        idx_to_delete_list, list

        Returns
        -------
        TermDocMatrix
        '''
        new_X, new_term_idx_store = self._get_X_after_delete_terms(idx_to_delete_list)

        return self._make_new_term_doc_matrix(new_X=new_X,
                                              new_mX=self._mX,
                                              new_y=None,
                                              new_category_idx_store=None,
                                              new_term_idx_store=new_term_idx_store,
                                              new_metadata_idx_store=self._metadata_idx_store,
                                              new_y_mask=np.ones(new_X.shape[0]).astype(np.bool))
def remove_terms_by_indices ( self , idx_to_delete_list ) : new_X , new_term_idx_store = self . _get_X_after_delete_terms ( idx_to_delete_list ) return self . _make_new_term_doc_matrix ( new_X = new_X , new_mX = self . _mX , new_y = None , new_category_idx_store = None , new_term_idx_store = new_term_idx_store , new_metadata_idx_store = self . _metadata_idx_store , new_y_mask = np . ones ( new_X . shape [ 0 ] ) . astype ( np . bool ) )
Parameters
        ----------
        idx_to_delete_list, list

        Returns
        -------
        TermDocMatrix