pandas-dev/pandas
Documented errors, page 4 of 5. Back to pandas-dev/pandas
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| The nonexistent argument must be one of 'raise', 'NaT'… | validation | error | datetime, timezone, dst, validation, argument |
| 'na_value' must be np.nan or pd.NA, got | exception | error | string-dtype, na-value, validation |
| Unexpected value for 'dtype | validation | error | datetime, dtype, construction, validation |
| Cannot use quantile with bool dtype | exception | error | groupby, quantile, boolean, dtype, extension-array |
| the 'numba' engine doesn't support lists of callables yet | exception | error | pandas, apply, numba, list-like, notimplementederror |
| cannot add and | exception | error | datetime, arithmetic, type-error, timedelta |
| Cannot pass both a timezone-aware dtype and tz=None | validation | error | datetime, timezone, dtype, construction, validation |
| 'construct_from_string' expects a string, got | exception | error | string-dtype, dtype-registry, type-check |
| invalid na_position | exception | error | categorical, sort, argument-validation, na-handling |
| SparseArray does not support item assignment via setitem | exception | error | sparse, setitem, mutation, extension-array |
| Expected array of boolean type, got | exception | error | arrow, pyarrow, boolean, dtype, interop |
| to_pydatetime cannot be called with | exception | error | pyarrow, datetime-accessor, date, arrow-extension |
| mean is not implemented for | exception | error | datetime, reduction, period, mean, type-error |
| the 'numba' engine doesn't support using a numpy ufunc as… | exception | error | pandas, apply, numba, ufunc, notimplementederror |
| index is out of bounds for axis 0 with size | exception | error | pyarrow, setitem, out-of-bounds, indexerror |
| timedelta64 type does not support | exception | error | pandas, timedelta, groupby, dtype, reduction |
| as_unit not implemented for | exception | error | pyarrow, datetime-accessor, not-implemented, arrow-extension |
| Not enough parameters to construct Period range | exception | error | pandas, period, period-range, constructor, validation |
| Cannot set float NaN to integer-backed IntervalArray | validation | error | interval-array, nan, integer, setitem |
| 'value' should be a Timedelta. | exception | error | pandas, timedelta, scalar, type-error, internal |
| Length of indexer and values mismatch | exception | error | pyarrow, setitem, length-mismatch, valueerror |
| only integers, slices (`:`), ellipsis (`...`)… | exception | error | indexing, scalar, type-validation, getitem |
| the 'numba' engine doesn't support using a string as the… | exception | error | pandas, apply, numba, string-dispatch, notimplementederror |
| Cannot create a from a MultiIndex. | validation | error | pandas, multiindex, constructor, datetimeindex, api-misuse |
| Lengths of operands do not match | exception | error | arithmetic, string, length-mismatch, validation, fallback |
| Duplicate index entries are not allowed in to_coo… | exception | error | sparse, scipy, coo, duplicate-index |
| The categories must be provided in 'categories' or 'dtype'… | exception | error | categorical, from-codes, categories, valueerror |
| Value must be a callable | validation | error | config, callable-validation, display-options |
| axis other than 0 is not supported | exception | error | pandas, agg, apply, axis, notimplementederror |
| Cannot operate inplace if there is no assignment | exception | error | pandas, eval, inplace, assignment, argument-error |
| Cannot add and | exception | error | datetime, arithmetic, period, nat, type-error |
| cannot convert NA to integer | exception | error | pandas, masked-array, astype, na-value, integer |
| dtype ' ' is invalid, should be np.timedelta64 dtype | exception | error | timedelta, dtype, validation, valueerror |
| Input must be list-like | exception | error | categorical, factorize, argument-validation, list-like |
| length mismatch: vs. | exception | error | sparse, arithmetic, length-mismatch, broadcasting |
| must not have differing left | validation | error | interval, type-mismatch, from-arrays, value-error |
| datetime64 type does not support operation | exception | error | datetime, groupby, reduction, sum, type-error |
| Already tz-aware, use tz_convert to convert. | validation | error | datetime, timezone, tz-localize, tz-convert |
| is not a valid identifier | validation | error | config, register-option, identifier, validation |
| No such keys(s) for | exception | error | config, describe-option, typo, option-error |
| Must provide an even number of non-keyword arguments | validation | error | config, set-option, argument-count, api-misuse |
| You must specify at least 4 characters when resetting… | validation | error | config, reset-option, safety-guard, ambiguous |
| Cannot apply ufunc to mixed DataFrame and Series inputs. | exception | error | numpy, ufunc, dataframe, series, alignment |
| groupby first/last only supports 1D ExtensionArrays | exception | error | groupby, first, last, extension-array, ndim, notimplemented |
| does not support reshape as backed by a 1D… | exception | error | pyarrow, reshape, notimplemented, extension-array |
| Cannot perform reduction | exception | error | pandas, string-array, reduction, mean, dtype |
| is | exception | error | testing, memory-sharing, copy-on-write |
| cannot broadcast result | exception | error | pandas, apply, broadcast, length-mismatch, valueerror |
| No such option | exception | error | config, options-attribute, typo, option-error |
| codes need to be array-like integers | exception | error | categorical, from-codes, codes, dtype, valueerror |
| items in new_categories are not the same as in old… | exception | error | categorical, reorder-categories, categories, valueerror |
| Pattern matched multiple keys | exception | error | config, option, ambiguous, regex, option-error |
| Cannot multiply with unequal lengths | exception | error | timedelta, multiplication, length-mismatch, valueerror |
| new categories need to have the same number of items as the… | exception | error | categorical, rename-categories, cardinality, valueerror |
| out of bounds value in 'indices'. | exception | error | pyarrow, take, out-of-bounds, indexerror |
| Cannot cast dtype to | exception | error | categorical, astype, cast, valueerror |
| contains not implemented with | exception | error | strings, pyarrow, str-contains, regex |
| Conversion to arrow with subtype | validation | error | interval-array, arrow, subtype, pyarrow |
| invalid normalization form | exception | error | strings, pyarrow, normalize, argument |
| Must provide freq argument if no data is supplied | validation | error | pandas, date-range, frequency, validation |
| You must pass a freq argument as current index has none. | validation | error | datetime, period, frequency, to-period |
| Cannot divide vectors with unequal lengths | exception | error | timedelta, division, length-mismatch, valueerror |
| cannot subtract a datelike from a | exception | error | datetime, arithmetic, type-error, subtraction |
| No masked accumulation defined for dtype | exception | error | internal, accumulation, dtype, masked-array |
| Cannot convert float NaN to integer | exception | error | categorical, astype, integer, missing-values, valueerror |
| Option ' ' has already been defined as deprecated. | exception | error | config, deprecate-option, duplicate, option-error |
| category, object, and string subtypes are not supported for… | validation | error | interval, unsupported-dtype, string-subtype, categorical, type-error |
| 'value' should be an interval type, got | validation | error | interval-array, setitem, validation |
| specified freq and dtype are different | exception | error | pandas, period, freq, incompatible |
| > 1 ndim Categorical are not supported at this time | exception | error | categorical, constructor, ndim, notimplementederror |
| ExtensionArray.fillna does not support filling with a dict… | exception | error | fillna, dict, api-misuse, validation |
| {key} | exception | error | scope, eval, chainmap, keyerror, internal |
| Length of 'value' does not match. Got | exception | error | fillna, length-mismatch, validation, alignment |
| Passing in 'datetime64' dtype with no precision is not… | validation | error | datetime, dtype, unit-resolution, construction |
| fill value in the sparse values not supported | exception | error | sparse, map, fill-value, mutation |
| Cannot convert from to . Supported resolutions are 's'… | exception | error | pandas, timedelta, astype, resolution, unit |
| removals must all be in old categories | exception | error | categorical, remove-categories, valueerror |
| Lengths must match to compare | validation | error | interval, comparison, length-mismatch, value-error |
| Storage must be 'python' or 'pyarrow'. Got | exception | error | string-dtype, storage, config, validation |
| is a python keyword | validation | error | config, register-option, keyword, validation |
| SparseArray does not support in-place sort | exception | error | sparse, sort, not-implemented, extension-array |
| repeat is not implemented when repeats is | exception | warning | pyarrow, str, repeat, vectorized |
| Invalid value ' ' for dtype 'str'. Value should be a string… | exception | error | pandas, arrow-string-array, insert, type-error, dtype |
| freq must be a quarterly frequency | exception | error | pandas, period, quarter, freq |
| new categories must not include old categories | exception | error | categorical, add-categories, duplicate, valueerror |
| Not supported to convert IntervalArray to type with… | validation | error | interval-array, arrow, type-mismatch, pyarrow |
| cannot convert float NaN to bool | exception | error | pandas, masked-array, astype, na-value, boolean |
| count not implemented with | exception | warning | pyarrow, str, count, regex, flags |
| putmask: mask and data must be the same size | exception | error | putmask, where, shape-mismatch, alignment |
| Wrong dtype | exception | error | pandas, period, dtype, datetime |
| mask should be boolean numpy array. Use the 'pd.array'… | validation | error | masked-array, constructor, internal-api |
| Cannot slice with Ellipsis | exception | error | sparse, indexing, ellipsis, getitem |
| cannot add indices of unequal length | exception | error | datetime, arithmetic, shape-mismatch, value-error |
| abs(axis) must be less than ndim | exception | error | datetime, reduction, axis, value-error, median |
| Neither `start` nor `end` can be NaT | validation | error | pandas, date-range, nat, validation |
| Categorical input must be list-like | exception | error | categorical, constructor, scalar-input, typeerror |
| Cannot multiply StringArray by bools. Explicitly cast to… | exception | error | pandas, string-array, arithmetic, boolean, multiplication |
| func is expected but received | exception | error | agg, named-aggregation, type-validation |
| Option ' ' is a reserved key | exception | error | config, register-option, reserved, namespace |
| `other` must be Interval-like, got | validation | error | interval-array, overlaps, type-check |