code: def make_channing():
      def _make_channing(sex):  # pylint: disable=unused-argument
          data = pd.read_csv(CHANNING_FILE).query(
              "entry < exit and sex == @sex"
          )
          time_enter_m = data.loc[:, "entry"].values
          time_exit_m = data.loc[:, "exit"].values
          event_m = data.loc[:, "cens"].values == 1
          return time_enter_m, time_exit_m, event_m
  
      return _make_channing
  
imports: from os.path import dirname, join
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  import pandas
  import pytest
  from sksurv.nonparametric import CensoringDistributionEstimator, SurvivalFunctionEstimator, kaplan_meier_estimator, nelson_aalen_estimator
  from sksurv.testing import FixtureParameterFactory
  from sksurv.util import Surv
label_desc: Use image node_id 1 for calling a global function with example usage: make_channing() and returns: _make_channing, time_enter_m,  time_exit_m,  event_m