code: def test_proportional_hazard_test_with_list():
      df = pd.DataFrame(
          {
              "var1": [
                  0.209325,
                  0.693919,
                  0.443804,
                  0.065636,
                  0.386294,
              ],
              "var2": [1, 0, 1, 0, 1],
              "T": [5.269797, 6.601666, 7.335846, 11.684092, 12.678458],
              "E": [1, 1, 1, 0, 1],
          }
      )
  
      cph = CoxPHFitter()
      cph.fit(df, "T", "E")
      results = stats.proportional_hazard_test(
          cph, df, time_transform=["rank", "km"]
      )
      assert results.summary.shape[0] == 2 * 2
  
imports: import numpy
  import pandas
  import numpy.testing
  import pytest
  from pandas.testing import assert_frame_equal
  from lifelines import statistics
  from lifelines import CoxPHFitter, KaplanMeierFitter, WeibullFitter
  from lifelines.exceptions import StatisticalWarning
  from lifelines.datasets import load_waltons, load_g3, load_lymphoma, load_dd, load_regression_dataset, load_leukemia
label_desc: Use image node_id 37 for calling a global function with example usage: test_proportional_hazard_test_with_list() without return types