code: def test_ttest_ind_with_uneq_var():
      # from scipy
      # check vs. R
      a = (1, 2, 3)
      b = (1.1, 2.9, 4.2)
      pr = 0.53619490753126731
      tr = -0.68649512735572582
      t, p, df = ttest_ind(a, b, usevar="unequal")
      assert_almost_equal([t, p], [tr, pr], 13)
  
      a = (1, 2, 3, 4)
      pr = 0.84354139131608286
      tr = -0.2108663315950719
      t, p, df = ttest_ind(a, b, usevar="unequal")
      assert_almost_equal([t, p], [tr, pr], 13)
  
imports: import numpy
  from scipy import stats
  import pandas
  from numpy.testing import assert_, assert_almost_equal, assert_allclose
  from statsmodels.stats.weightstats import DescrStatsW, CompareMeans, ttest_ind, ztest, zconfint
  from statsmodels.tools.testing import Holder
label_desc: Use image node_id 1 for calling a global function with example usage: test_ttest_ind_with_uneq_var() without return types