aeye-lab / pymovements

A python package for processing eye movement data
https://pymovements.readthedocs.io
MIT License
61 stars 12 forks source link

Infer the correct number of components for empty dataframes #522

Open dkrako opened 1 year ago

dkrako commented 1 year ago

From a polars Dataframe like pl.DataFrame(schema={'pixel': pl.List(pl.Float64)}) we cannot infer the number of components, as the number of components is inferred from the list lengths.

This can probably only be solved by resolving #453

The priority for fixing this is very low, as there are probably close to no use cases with empty dataframe initialzitations.