code: def get_surv_arrays(self, event_name="event", time_name="time"):
      event, time = self.event_and_time
  
      expected = np.empty(
          dtype=[(event_name, bool), (time_name, float)],
          shape=event.shape[0],
      )
      expected[event_name] = event.astype(bool)
      expected[time_name] = time
  
      return (event, time), expected
  
imports: from collections import OrderedDict
  from contextlib import nullcontext
  import numpy
  from numpy.testing import assert_array_equal
  import pandas
  import pandas.testing
  import pytest
  from sksurv.testing import FixtureParameterFactory
  from sksurv.util import Surv, _PropertyAvailableIfDescriptor, property_available_if, safe_concat
label_desc: Use image node_id 1 for calling the SurvArrayCases obj's underlying member method code with example usage: obj.get_surv_arrays(event_name, time_name) and returns: event,  time,  expected