pandas-dev/pandas
Documented errors, page 5 of 5. Back to pandas-dev/pandas
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Intervals must all be closed on the same side. | validation | error | interval-array, concat, closed |
| cumprod not supported for Timedelta. | exception | error | pandas, timedelta, accumulation, cumprod, dtype |
| invalid dtype | validation | error | interval, validate, interval-dtype, value-error |
| Can only use the '.sparse' accessor with Sparse data. | exception | error | pandas, sparse, accessor, dtype |
| Mismatched Period array lengths | exception | error | pandas, period, shape, validation |
| Must provide 'func' or tuples of '(column, aggfunc). | exception | error | agg, validation, argument |
| Could not infer freq from start/end | exception | error | pandas, period, freq, range |
| contains not implemented for two intervals | exception | error | interval-array, contains, not-implemented |
| .from_tuples requires tuples of length 2, got | validation | error | interval, from-tuples, tuple-length, value-error |
| operands have mismatched length | exception | error | sparse, comparison, length-mismatch, alignment |
| cannot pass mask for BooleanArray input | exception | error | boolean, mask, coerce, nullable, api-misuse |
| left and right must have the same time zone, got | validation | error | interval, timezone, datetimeindex, value-error |
| multi-dimensional indexing not allowed | validation | error | interval, indexing, multi-dimensional, value-error |
| Column length mismatch | exception | error | pandas, sparse, shape, scipy |
| Period dtypes are not supported, use a PeriodIndex instead | validation | error | interval, period, periodindex, unsupported-dtype, value-error |
| Cannot construct from scalar data. Pass a sequence instead. | exception | error | pandas, sparse, constructor, scalar |
| 'data' must have a single column, not | exception | error | pandas, sparse, scipy, shape |
| cannot add Period to a | exception | error | datetime, arithmetic, period, type-error |
| 'indices' must be an array, not a scalar | exception | error | sparse, take, scalar, validation |
| missing values must be missing in the same location both… | validation | error | interval, missing-values, na-mask, value-error |
| cannot do a non-empty take from an empty axes. | exception | error | sparse, take, empty, allow-fill |
| start and end must have same freq | exception | error | pandas, period, freq, range |
| Not supported to convert IntervalArray to | validation | error | interval-array, arrow, pyarrow, type |
| bad operand type for unary + | exception | error | pandas, arrow-string-array, unary-operator, operator, dtype |
| Of the three parameters: start, end, and periods, exactly… | exception | error | pandas, period, range, validation |
| Invalid value in 'indices'. Must be between -1 and the… | exception | error | sparse, take, allow-fill, validation |
| cannot convert float NaN to integer | exception | error | pandas, period, nan, casting |
| values.shape must match mask.shape | validation | error | masked-array, shape-mismatch, constructor |
| can only insert Interval objects and NA into an… | validation | error | interval-array, insert, scalar, validation |
| Invalid side: . Side must be one of 'left', 'right', 'both | exception | error | strings, pyarrow, str-pad, argument |
| index is out of bounds: must be an integer between | exception | error | sparse, indexing, out-of-bounds, getitem |
| Cannot slice with | exception | error | sparse, indexing, getitem, validation |
| Quarter must be 1 <= q <= 4 | exception | error | pandas, period, quarter, validation |
| Index length mismatch | exception | error | pandas, sparse, shape, scipy |
| Must provide 'func' or named aggregation **kwargs. | exception | error | agg, validation, named-aggregation |
| axis(= ) out of bounds | exception | error | sparse, cumsum, axis, dimensionality |
| invalid option for 'closed | validation | error | interval-array, set-closed, validation |
| left side of interval must be <= right side | validation | error | interval, endpoint-order, value-error |
| start and end must not be NaT | exception | error | pandas, period, nat, validation |
| left and right must have the same length | validation | error | interval, length-mismatch, from-arrays, value-error |