mad-lab-fau / gaitmap

The Gait and Movement Analysis Package
https://gaitmap.readthedocs.io
Other
38 stars 2 forks source link

Stricter dtype checks for integers #35

Open AKuederle opened 1 year ago

AKuederle commented 1 year ago

With pandas 2.0 and higher, some type conversion got stricter or are not allowed anymore (e.g. you can not convert from float to the new Int64 dtype with safe casting.

To provide better error messages to the user, we should check if the conversion to integeres works for things like stride lists in the is_stride_list (and similar method) and provide actionable error messages