pandas-dev/pandas
Documented errors, page 3 of 5. Back to pandas-dev/pandas
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| The index/columns must be unique when raw=False and… | exception | error | numba, apply, duplicate-labels, engine |
| The 'sort' keyword in | exception | error | pandas, factorize, datetimearray, api-misuse |
| 'value' should be a compatible interval type, got | validation | error | interval-array, setitem, subtype, lossy |
| You can only set the value of existing options | exception | error | config, options-attribute, api-misuse, option-error |
| Cannot cast to dtype | exception | error | datetimelike, astype, float-conversion, cross-kind |
| dtype ' ' does not support operation 'quantile | exception | error | pyarrow, groupby, quantile, string-dtype |
| Unable to import required dependency | exception | critical | dependency, import, environment, numpy, dateutil, install |
| Cannot perform with non-ordered Categorical | exception | error | categorical, groupby, ordering, min-max |
| Can only use .cat accessor with a 'category' dtype | exception | error | categorical, accessor, dtype, attribute-error |
| Indexing with a float is no longer supported. Manually… | exception | error | index-error, float-indexer, indexing, scalar, deprecated |
| 'value' should be a Period. Got | exception | error | pandas, period, scalar, internal, validation |
| cannot convert to ' '-dtype NumPy array with missing… | exception | error | pandas, masked-array, to-numpy, na-value, dtype |
| Only integers, slices and integer or boolean arrays are… | exception | error | indexing, numpy, type-validation, getitem |
| Expected coo_matrix. Got | exception | error | sparse, scipy, coo, type-check |
| nonexistent is not supported. | exception | error | pyarrow, datetime-accessor, timezone, dst, not-implemented, arrow-extension |
| Offset did not increment date | validation | error | datetime, date-range, offset, frequency, infinite-loop-guard |
| Function " " does not support keyword arguments | exception | error | pandas, eval, query, keyword-arguments, function-call |
| cannot perform both aggregation and transformation… | exception | error | pandas, agg, dict-like, mixed-result, valueerror |
| ' ' with PeriodDtype is no longer supported. Use (obj !=… | exception | error | pandas, period, groupby, any-all, gh34479 |
| not implemented for | exception | error | comparison, operand, type-validation, pyarrow |
| Unary addition not supported | exception | error | pandas, hdfstore, pytables, unary-operator, where |
| Can't determine version for | exception | error | dependencies, version-check, import-error |
| Cannot interpolate with | exception | error | pandas, numpy-extension-array, interpolate, numeric, dtype |
| by_row= not allowed | exception | error | pandas, apply, by-row, argument-validation, valueerror |
| Can only use the '.struct' accessor with 'struct[pyarrow]'… | exception | error | accessor, pyarrow, struct, dtype-mismatch |
| (...) must be called with a collection of some kind, was… | validation | error | interval, interval-array, scalar-argument, type-error |
| Of the four parameters: start, end, periods, and freq… | validation | error | pandas, date-range, validation, parameters |
| cannot be cast to bool | exception | error | boolean, string, from-sequence, true-values, false-values |
| to_dict() only accepts initialized defaultdicts | exception | error | type-error, to-dict, defaultdict, mapping, api-misuse |
| Only flags=0 is implemented. | exception | error | pyarrow, string-accessor, regex, not-implemented, arrow-extension |
| searchsorted requires array to be sorted, which is… | exception | error | pandas, string-array, searchsorted, missing-values, sorting |
| can only perform ops with 1-d structures | exception | error | pandas, masked-array, arithmetic, ndim, broadcasting |
| value should be a ' ', 'NaT', or array of those. Got… | exception | error | datetimelike, validation, string-parse, setitem |
| Object with dtype cannot perform the numpy op | exception | error | categorical, ufunc, numpy, typeerror |
| name ' ' is not defined | exception | error | eval, query, scope, undefined-variable, name-resolution |
| operator ' ' not implemented for bool dtypes | exception | error | pandas, masked-array, arithmetic, boolean |
| Passing in 'timedelta' dtype with no precision is not… | exception | error | timedelta, dtype, validation, valueerror, units |
| dtype cannot be converted to datetime64[ns] | validation | error | datetime, dtype, timedelta, bool, to-datetime |
| expr must be a string to be evaluated | exception | error | pandas, eval, dataframe, type-error, argument-error |
| can only assign a single expression | exception | error | pandas, eval, assignment, syntax-error, multiple-targets |
| `Import ` failed. Use pip, conda, or your preferred package… | exception | error | dependencies, import-error, optional-deps |
| __invert__ is not supported for string dtypes | exception | error | operator, string, type-validation, pyarrow, invert |
| Parallel apply is not supported when raw=False and… | exception | error | numba, apply, performance, engine |
| pyarrow>= is required for PyArrow backed StringArray. | exception | error | string-dtype, pyarrow, dependency, environment |
| unary '-' not supported for dtype | exception | error | operator, unary, type-validation, pyarrow |
| can only convert an array of size 1 to a Python scalar | exception | error | value-error, item, series, index, cardinality |
| cannot perform with type | exception | error | extension-array, not-implemented, accumulation, pandas |
| expected a string object, not | exception | error | pyarrow, string-accessor, type-error, arrow-extension |
| Left and right arrays must have matching signedness. Got | validation | error | interval, signedness, integer-dtype, type-error |
| Option ' ' has already been registered | exception | error | config, register-option, duplicate, namespace |
| Provide an even amount of arguments as option_context(pat… | validation | error | config, option-context, argument-count, api-misuse |
| axis is out of bounds for array of dimension | exception | error | categorical, concat, axis, dimensionality |
| Invalid dtype for PeriodArray | exception | error | pandas, period, constructor, dtype, freq |
| cannot be converted to | exception | error | pandas, numeric-array, dtype, object, boolean |
| Can only string multiply by an integer. | exception | error | arithmetic, string, multiply, type-validation, pyarrow |
| Cannot compare types | exception | error | replace, type-mismatch, comparison |
| Supported timedelta64 resolutions are 's', 'ms', 'us', 'ns' | exception | error | timedelta, dtype, resolution, validation, valueerror |
| Not supported to convert PeriodArray to array with… | exception | error | pandas, period, pyarrow, interop, freq |
| Cannot change data-type for string array. | exception | error | string-array, view, dtype-conversion |
| codes need to be between -1 and len(categories)-1 | exception | error | categorical, from-codes, codes, range, valueerror |
| does not have a resolution. | validation | error | pandas, arrow, dtype, resolution, validation |
| is not | exception | error | testing, memory-sharing, numpy-arrays |
| Expression objects are not iterable | exception | error | type-error, expression, col, iteration, deferred |
| periods must be an integer, got | validation | error | pandas, date-range, periods, validation, type-error |
| the 'numba' engine doesn't support result_type='broadcast' | exception | error | pandas, apply, numba, broadcast, notimplementederror |
| 'unit' must be one of 's', 'ms', 'us', 'ns' | validation | error | pandas, date-range, unit, resolution, validation |
| Unordered Categoricals can only compare equality or not | exception | error | categorical, comparison, ordered, typeerror |
| Must specify a valid frequency | exception | error | pyarrow, datetime-accessor, frequency, validation, arrow-extension |
| Passed data is timezone-aware, incompatible with 'tz=None'… | validation | error | pandas, datetime, timezone, tz-localize, validation |
| Cannot setitem on a Categorical with a new category, set… | exception | error | categorical, setitem, new-category, categories |
| Categoricals can only be compared if 'categories' are the… | exception | error | categorical, comparison, categories, typeerror |
| ' ' with datetime64 dtypes is no longer supported. Use (obj… | exception | error | datetime, groupby, any, all, version-change, type-error |
| NumpyExtensionArray must be 1-dimensional. | exception | error | pandas, numpy-extension-array, constructor, shape, scalar |
| invalid dtype specified | exception | error | pandas, numeric-array, dtype, constructor |
| Invalid value for dtype 'str'. Value should be a string or… | exception | error | string-array, setitem, type-check, array |
| where must be passed as a string, PyTablesExpr, or… | exception | error | pytables, hdf5, type-validation, where-clause, query |
| Cannot convert to ; subtypes are incompatible | validation | error | interval-array, astype, subtype, datetime |
| Column not found | exception | error | key-error, column-selection, groupby, indexing, schema-mismatch |
| Need to pass bool-like values | exception | error | boolean, coerce, numpy, integer, validation |
| ' ' is not a valid function for ' ' object | exception | error | pandas, apply, string-dispatch, attributeerror, typo |
| Length of values ( ) does not match length of index ( ) | exception | error | value-error, length-mismatch, series, construction, assign |
| overflow in timedelta operation | exception | error | timedelta, cumsum, overflow, datetime |
| limit must be None | validation | error | interval-array, fillna, limit, not-implemented |
| No accumulation for implemented on BaseMaskedArray | exception | error | internal, accumulation, datetimelike |
| to_coo requires MultiIndex with nlevels >= 2. | exception | error | sparse, scipy, coo, multiindex |
| too many dims to broadcast | exception | error | pandas, apply, broadcast, shape-mismatch, valueerror |
| values should be boolean numpy array. Use the 'pd.array'… | exception | error | boolean, constructor, numpy, api-misuse, pd-array |
| Expected array of type, got instead | exception | error | pandas, numeric-array, arrow, dtype, type-coercion |
| Not supported to convert PeriodArray to | exception | error | pandas, period, pyarrow, interop, type-conversion |
| Column is backed by an extension array, which is not… | exception | error | pandas, apply, numba, extension-array, dtype, valueerror |
| data is already tz-aware | validation | error | datetime, timezone, construction, dtype-validation |
| 'other' should be pandas.NA or a bool. Got | exception | error | boolean, logical, kleene, operator, scalar |
| Passing PeriodDtype data is invalid. Use… | validation | error | datetime, period, dtype, construction, to-timestamp |
| Array with ndim > 2 is not supported. | exception | error | pandas, rank, ndim, shape, typeerror |
| Cannot convert tz-naive timestamps, use tz_localize to… | validation | error | datetime, timezone, tz-convert, tz-localize |
| cannot assign mismatch length to masked array | exception | error | putmask, where, masked-array, shape-mismatch |
| closed keyword does not match dtype.closed | validation | error | interval, closed-attribute, dtype-conflict, value-error |
| Label(s) do not exist | exception | error | pandas, agg, missing-column, keyerror, validation |
| values.shape and mask.shape must match | exception | error | boolean, mask, shape, coerce, validation |
| .from_tuples received an invalid item | validation | error | interval, from-tuples, non-iterable, type-error |