Miscellaneous#

Loaders#

FDApy.misc.loader.read_csv(filepath: str, **kwargs) DenseFunctionalData | IrregularFunctionalData#

Read a comma-separated values (csv) file into Functional Data.

Build a DenseFunctionalData or IrregularFunctionalData object upon a csv file passed as parameter.

Parameters:
filepath: str

Any valid string path is acceptable.

**kwargs

Keywords arguments to passed to the pd.read_csv function.

Returns:
Union[DenseFunctionalData, IrregularFunctionalData]

The loaded csv file.

Notes

We assumed that the data are unidimensional and is not checked.

Utility functions#