pandas-dev/pandas
Documented errors, page 2 of 5. Back to pandas-dev/pandas
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| FloatingArray does not support np.float16 dtype. | exception | error | pandas, masked-array, numeric, float16, dtype |
| StringArray requires a sequence of strings or pandas.NA | exception | error | string-array, validation, coercion |
| Unable to avoid copy while creating an array as requested. | exception | error | pandas, period, numpy-interop, copy, numpy2 |
| Value must have type | validation | error | config, validator, type-check, set-option |
| dtype cannot be converted to timedelta64[ns] | exception | error | timedelta, dtype, conversion, typeerror, datetime |
| Can only use the '.list' accessor with 'list[pyarrow]'… | exception | error | accessor, pyarrow, list, dtype-mismatch |
| Categorical is not ordered for operation | exception | error | categorical, ordering, min-max, reduction |
| value should be a ' ' or 'NaT'. Got instead. | exception | error | datetimelike, validation, string-parse, scalar |
| DatetimeIndex has mixed timezones | validation | error | datetime, timezone, construction, mixed-tz, to-datetime |
| nested renamer is not supported | exception | error | pandas, agg, renamer, specificationerror, legacy |
| has no 'diff' method. Convert to a suitable dtype prior to… | exception | error | pandas, diff, extension-array, categorical, dtype, typeerror |
| Cannot setitem on a Categorical with a new category | exception | error | categorical, setitem, fillna, new-category, typeerror |
| unsupported operand type(s) for | exception | error | pandas, eval, type-error, dtype-mismatch, binop |
| Values resolution does not match dtype. | validation | error | pandas, datetimearray, dtype, resolution, internal |
| Casting to unit-less dtype 'datetime64' is not supported… | validation | error | datetime, astype, dtype, unit-resolution |
| The 'numba' engine doesn't support list-like/dict likes of… | exception | error | pandas, apply, numba, notimplementederror, engine |
| Converting from to is not supported. Do… | exception | error | datetimelike, astype, int-conversion, precision |
| dtype ' ' does not support operation | exception | error | extension-array, string-dtype, groupby, type-error, pandas |
| operation ' ' not supported for dtype ' ' with | exception | error | arithmetic, operator, type-validation, pyarrow, string |
| cannot evaluate scalar only bool ops | exception | error | pandas, eval, query, boolean, scalar, type-coercion |
| Function names must be unique if there is no new column… | exception | error | pandas, transform, duplicate-functions, named-aggregation, specificationerror |
| invalid value for result_type, must be one of | validation | error | pandas, apply, result-type, parameter-validation, valueerror |
| left hand side of an assignment must be a single name | exception | error | pandas, eval, assignment, syntax-error, lhs |
| query term is not valid | exception | error | pandas, hdfstore, pytables, filter, where, validation |
| 'std' and 'sem' are not valid for PeriodDtype | exception | error | pandas, period, groupby, std-sem, dtype |
| to_numpy() got an unexpected keyword argument | exception | error | type-error, to-numpy, kwargs, series, api-misuse |
| expr cannot be an empty string | exception | error | pandas, eval, validation, empty-input, argument-error |
| invalid validation method | validation | error | internal, numpy-compat, argument-validation |
| No transform functions were provided | exception | error | pandas, transform, empty-input, valueerror |
| setting an array element with a sequence. | exception | error | pandas, string-array, setitem, dtype, assignment |
| StringArray requires a sequence of strings or NaN | exception | error | string-array, validation, nan, infer-string |
| dtype is not specified and cannot be inferred | exception | error | pandas, period, constructor, freq, dtype |
| No such keys(s) | exception | error | config, option, typo, api-misuse, option-error |
| Invalid unary operator | exception | error | pandas, eval, unary-operator, expression, defensive |
| is not supported | exception | error | pyarrow, datetime-accessor, frequency, arrow-extension |
| Lengths must match. | exception | error | categorical, comparison, length-mismatch, valueerror |
| {pa_type} | exception | error | pyarrow, mode, temporal, notimplemented |
| Named aggregation is not supported when | exception | error | pandas, agg, named-aggregation, axis, notimplementederror |
| 'value' should be a Timestamp. | validation | error | pandas, datetimearray, scalar, internal, type-error |
| Is not a partition because union is not the whole. | exception | error | sparse, scipy, coo, multiindex, partition |
| periods must be an integer | validation | error | pandas, diff, shift, periods, valueerror, integer-validation |
| Cannot construct a ' ' from | exception | error | string-dtype, dtype-registry, typo |
| ambiguous is not supported. | exception | error | pyarrow, datetime-accessor, timezone, dst, not-implemented, arrow-extension |
| numpy operations are not valid with groupby. Use… | exception | error | groupby, numpy-compat, unsupported-call |
| Accumulation not supported for | exception | error | categorical, accumulation, cumsum, cummax |
| Expression objects are not copiable | exception | error | type-error, expression, col, copy, deferred |
| only list-like objects are allowed to be passed to isin()… | validation | error | pandas, isin, type-validation, typeerror, array-like |
| replace is not supported with a re.Pattern, callable repl… | exception | error | strings, pyarrow, str-replace, regex |
| Value must be 1-D array-like or scalar | exception | error | value-error, searchsorted, indexing, dataframe, dimensionality |
| Cannot multiply ' ' by bool, explicitly cast to integers… | exception | error | timedelta, multiplication, bool, typeerror |
| Cannot set a Categorical with another, without identical… | exception | error | categorical, setitem, dtype-mismatch, categories |
| Invalid value ' ' for dtype ' '. Value should be a string… | exception | error | string-array, index, insert, type-check |
| C extension: not built. If you want to import pandas from… | exception | critical | c-extension, build, editable-install, development, cython, compiler |
| cannot process expression | exception | error | pytables, hdf5, numexpr, where-clause, data-column |
| mask must be a 1D list-like | exception | error | pandas, masked-array, numeric, mask, shape, internal |
| Cannot directly set timezone. Use tz_localize() or… | exception | error | pandas, datetimeindex, timezone, attribute-error, gh3746 |
| cannot supply both a tz and a dtype with a tz | validation | error | datetime, timezone, dtype, construction, validation |
| {err_msg} | exception | error | testing, assertions, numpy-arrays |
| Column must have a numeric dtype. Found ' ' instead | exception | error | pandas, apply, numba, dtype, valueerror |
| dtype must be PeriodDtype | exception | error | pandas, period, dtype, validation |
| unsupported type | exception | error | type-error, to-dict, mapping, api-misuse |
| codes cannot contain NA values | exception | error | categorical, from-codes, codes, nullable, valueerror |
| Option ' ' is a prefix of an already-registered option | exception | error | config, register-option, prefix-collision, hierarchy, gh29242 |
| Cannot compare a Categorical for op | exception | error | categorical, comparison, list-like, typeerror |
| cannot do a non-empty take | exception | error | pyarrow, take, empty-array, indexerror |
| Path prefix to option | exception | error | config, register-option, path-collision, hierarchy |
| cannot assign without a target object | exception | error | pandas, eval, assignment, target, validation |
| index must be an integer, got | exception | error | extension-array, type-error, numpy-compat, pandas |
| Inferred frequency from passed values does not conform to… | validation | error | pandas, datetimeindex, frequency, validation, gh11587 |
| Supported units are 's', 'ms', 'us', 'ns' | validation | error | pandas, datetime, unit, resolution, validation |
| Value must be a nonnegative integer or None | validation | error | config, integer-validation, display-options |
| type does not support operations | exception | error | categorical, groupby, aggregation, sum |
| Encountered an NA value with skipna=False | exception | error | nan, argmin, reductions, nullable |
| na_action must either be 'ignore' or None | validation | error | pandas, map, na-action, parameter-validation, valueerror |
| Expected Hashable, got | exception | error | type-error, col, hashable, validation, api-misuse |
| Invalid engine ' ' passed, valid engines are | exception | error | key-error, eval, engine, query, api-misuse |
| does not implement interpolate | exception | error | extension-array, not-implemented, interpolation, pandas |
| ' ' with dtype does not support operation ' ' with pyarrow… | exception | error | pyarrow, reduce, version, upgrade |
| cannot subtract from | exception | error | datetime, arithmetic, rsub, type-error |
| Please upgrade numpy to >= | exception | critical | dependencies, numpy, import-time, version-mismatch |
| Column(s) already selected | exception | error | selection, groupby, index, indexerror, selectionmixin |
| dtype must be an IntervalDtype, got | validation | error | interval, interval-dtype, dtype-validation, type-error |
| Cannot compare tz-naive and tz-aware datetime-like objects | validation | error | datetime, timezone, comparison, tz-aware |
| cannot process expression | exception | error | pytables, hdf5, where-clause, filter, data-column |
| boolean value of an expression is ambiguous | exception | error | type-error, expression, col, boolean-ambiguous, deferred |
| operation ' ' not supported for dtype | exception | error | pyarrow, accumulate, cumsum, typeerror |
| The numba engine only supports using string or numeric… | validation | error | numba, dtype, groupby, string-columns |
| ArrowStringArray requires a PyArrow (chunked) array of… | exception | error | pandas, pyarrow, arrow-string-array, dtype, casting |
| Cannot add/subtract timedelta-like from PeriodArray that is… | exception | error | pandas, period, arithmetic, timedelta, freq, incompatible |
| Cannot convert input with unit | exception | error | timedelta, overflow, unsigned, uint64, outofbounds, units |
| function is not implemented for this dtype | exception | error | extension-array, groupby, not-implemented, pandas |
| Start and end cannot both be tz-aware with different… | validation | error | datetime, timezone, date-range, construction |
| Cannot override builtin dialect. | validation | error | testing, csv, naming-conflict |
| N-dimensional objects, where N > 2, are not supported with… | exception | error | pandas, eval, query, ndim, numpy, dimensionality |
| random_state must be an integer, array-like, a… | exception | error | value-error, random-state, sampling, api-misuse, type-validation |
| Cannot multiply with | exception | error | timedelta, multiplication, typeerror, numpy2, dtype |
| Incorrect dtype | exception | error | pandas, period, constructor, series, dtype |
| Resolver of type ' ' does not implement the __getitem__… | exception | error | pandas, eval, resolvers, type-error, duck-typing |
| StringArray requires a sequence of strings or pandas.NA. Got | exception | error | string-array, dtype, validation |
| cannot subtract from [ ] | exception | error | datetime, arithmetic, rsub, type-error |