pandas.errors.DataError

exception pandas.errors.DataError[source]

Exception raised when trying to perform a ohlc on a non-numnerical column. Or, it can be raised when trying to apply a function to a non-numerical column on a rolling window.