is_dflike#

mobgap.utils.dtypes.is_dflike(data: Any) bool[source]#

Check if the passed data is dataframe-like.

This includes pandas dataframes and series, as well as numpy arrays.

Parameters:
data

The data to check.

Returns:
bool

Whether the passed data is dataframe-like.