Dear All,
I hope all is well.
I am trying to do a penalized cox regression analysis in Python.
However, in order for the function to work, the "event" and "time"
need to be stored as a structured array
similar to:
array([( True, 72.), ( True, 411.), ( True, 228.),.........,dtype=[('event', '?'), ('time', '