code: def delete_rows_csr(mat, indices):
      """
      Remove the rows denoted by ``indices`` form the CSR sparse matrix ``mat``.
      """
      if not isinstance(mat, scipy.sparse.csr_matrix):
          raise ValueError(
              "works only for CSR format -- use .tocsr() first"
          )
      indices = list(indices)
      mask = np.ones(mat.shape[0], dtype=bool)
      mask[indices] = False
      return mat[mask]
  
imports: import csv
  import datetime
  import numbers
  import os
  import pkg_resources
  import numpy
  import pandas
  import scipy
  from sklearn.datasets import load_boston
  from sklearn.model_selection import train_test_split
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import LabelEncoder
  from sklearn.utils.metaestimators import if_delegate_has_method
  from sklearn.utils import column_or_1d
  from auto_ml._version import __version__
label_desc: Use image node_id 7 for calling a global function with example usage: delete_rows_csr(mat, indices) and returns: mat