code: def data_bool(self):
      data, expected = self.get_surv_data_frame()
      data["event"] = data["event"].astype(bool)
  
      inputs = ("event", "time", data)
      return inputs, expected, does_not_raise()
  
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 2 for calling the SurvDataFrameCases obj's underlying member method code with example usage: obj.data_bool() and returns: inputs,  expected,  does_not_raise