code: def coxph_summary():
      heart = h2o.import_file(
          pyunit_utils.locate("smalldata/coxph_test/heart.csv")
      )
  
      coxph = H2OCoxProportionalHazardsEstimator(
          start_column="start", stop_column="stop"
      )
      coxph.train(x="age", y="event", training_frame=heart)
      coxph.show()
  
      assert isinstance(coxph.get_summary(), str_type)
  
      # legacy behaviour
      summary = coxph.summary()
      print(summary)
      assert isinstance(summary, H2OTwoDimTable)
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.utils.compatibility import str_type
  from h2o.estimators.coxph import H2OCoxProportionalHazardsEstimator
  from h2o.two_dim_table import H2OTwoDimTable
label_desc: Use image node_id 1 for calling a global function with example usage: coxph_summary() without return types