code: def test_when_estimate_geometric_median_then_returns_correct_median_vector():
      a = np.random.normal(10, 1, 100)
      a = np.hstack([a, np.random.normal(10000, 1, 20)])
      b = np.random.normal(-5, 1, 100)
      b = np.hstack([b, np.random.normal(-10000, 1, 20)])
  
      gm = geometric_median(np.vstack([a, b]).T)
  
      assert gm[0] == approx(10, abs=0.5)
      assert gm[1] == approx(-5, abs=0.5)
  
imports: import numpy
  import pytest
  from flaky import flaky
  from numpy.matlib import repmat
  from pytest import approx
  from dowhy.gcm.ml import create_hist_gradient_boost_classifier, create_hist_gradient_boost_regressor, create_linear_regressor, create_logistic_regression_classifier
  from dowhy.gcm.stats import estimate_ftest_pvalue, marginal_expectation, quantile_based_fwer
  from dowhy.gcm.util.general import geometric_median
label_desc: Use image node_id 1 for calling a global function with example usage: test_when_estimate_geometric_median_then_returns_correct_median_vector() without return types