Introduction to the Cox model

YouTube
@giorgiogilestro If you score survival in Excel, Excel Macros to convert then use Prism for #KaplanMeier. We also have recently made R scripts to export from Excel and then use R survival package (to eliminate the need to use Prism).

Test: same technical question on twitter and mastodon.

I have survival observation logs in a concise format (figure below) and I want to convert them into a verbose format compatible with #KaplanMeier (one row per individual with a censored/exit columns). What would you use?

Ideally Python but can cope with R. Using python lifelines for analysis.

Thanks.