code: def estimators_ndim2(request):
      space = request.param
      request.cls.estimator = ToTangentSpace(space)
  
file_path: geomstats/tests/tests_geomstats/test_learning/test_preprocessing.py
imports: import pytest
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.hyperboloid import Hyperboloid
  from geomstats.geometry.hypersphere import Hypersphere
  from geomstats.geometry.minkowski import Minkowski
  from geomstats.geometry.spd_matrices import SPDMatrices
  from geomstats.geometry.special_orthogonal import SpecialOrthogonal
  from geomstats.learning.preprocessing import ToTangentSpace
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test_cases.learning.preprocessing import ToTangentSpaceTestCase
  from .data.preprocessing import ToTangentSpaceNdim2TestData, ToTangentSpaceTestData
label_desc: Use image node_id 2 for calling a global function with example usage: estimators_ndim2(request) without return types