code: def test_csr_getrow():
      N = 10
      np.random.seed(0)
      X = np.random.random((N, N))
      X[X > 0.7] = 0
      Xcsr = csr_matrix(X)
  
      for i in range(N):
          arr_row = X[i : i + 1, :]
          csr_row = Xcsr.getrow(i)
  
          assert_array_almost_equal(arr_row, csr_row.toarray())
          assert_(type(csr_row) is csr_matrix)
  
file_path: catboost/contrib/python/scipy/py2/scipy/sparse/tests/test_csr.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_
  from scipy.sparse import csr_matrix
label_desc: Use image node_id 3 for calling a global function with example usage: test_csr_getrow() without return types