General helper for validating and converting dtypes#
Helper to validate and convert common data types used in mobgap.
DataFrame Like#
|
Check if the passed data is dataframe-like. |
|
Convert the passed data to a 2d numpy array and return a function to convert it back to the original datatype. |