pandas.errors.DataError

exception pandas.errors.DataError[source]

Exceptionn raised when performing an operation on non-numerical data.

For example, calling ohlc on a non-numerical column or a function on a rolling window.