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.