code: def test_row_coords(self, method_name="row_coordinates"):
      F = load_df_from_R(f"ca${self._row_name}$coord")
      if self.sup_rows:
          F = pd.concat(
              (F, load_df_from_R(f"ca${self._row_name}.sup$coord"))
          )
  
      method = getattr(self.ca, method_name)
      P = method(self.dataset)
  
      np.testing.assert_allclose(F.abs(), P.abs())
  
imports: from __future__ import annotations
  import math
  import tempfile
  import numpy
  import pandas
  import pytest
  import rpy2.robjects
  import sklearn.utils.estimator_checks
  import sklearn.utils.validation
  from rpy2.robjects import r
  from scipy import sparse
  import prince
  from tests import load_df_from_R
label_desc: Use image node_id 7 for calling the TestCA obj's underlying member method code with example usage: obj.test_row_coords(method_name) without return types