code: def test_row_coords(self, method_name):
      method = getattr(self.pca, method_name)
      P = method(self.dataset)
      # Test againt FactoMineR
      F = load_df_from_R("pca$ind$coord")
      if self.sup_rows:
          F = pd.concat((F, load_df_from_R("pca$ind.sup$coord")))
      np.testing.assert_allclose(F.abs(), P.abs())
      # Test against scikit-learn
      S = self.sk_pca.transform(
          self.dataset[self.pca.feature_names_in_]
      )
      np.testing.assert_allclose(np.abs(S), P.abs())
  
imports: from __future__ import annotations
  import math
  import numpy
  import pandas
  import pytest
  import rpy2.robjects
  import sklearn.utils.estimator_checks
  import sklearn.utils.validation
  from sklearn import decomposition, pipeline, preprocessing
  import prince
  from tests import load_df_from_R
label_desc: Use image node_id 6 for calling the TestPCA obj's underlying member method code with example usage: obj.test_row_coords(method_name) without return types