fedeca.scripts

class CSVOpener

Bases: Opener

CSV opener class.

fake_data(n_samples=None)

Generate simulated survival data.

Parameters:

n_samples (int or None, optional) – Number of samples, by default None.

Returns:

Fake survival data.

Return type:

pd.DataFrame

get_data(folders)

Get data from CSV files.

Parameters:

folders (list) – List of folder paths.

Returns:

Loaded data from CSV files.

Return type:

pd.DataFrame