-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
137 pandas eval #239
137 pandas eval #239
Conversation
can you pytest skip the failing tests and they can be worked on in another PR? |
and add a note in changes to say eval now works |
I agree with you in principle and I will do that. However looking a little bit into details pytest summaryFAILED pint_pandas/testsuite/test_issues.py::TestIssue165::test_force_ndarray_like - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_issues.py::TestIssue21::test_offset_concat - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_issues.py::TestIssue68::test_assignment_add_empty - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_issues.py::TestIssue174::test_sum - TypeError: agg function failed [how->sum,dtype->pint[meter]] FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-float-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-float-boolean-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-float-boolean-array-na] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-int-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-int-boolean-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-int-boolean-array-na] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-complex128-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-complex128-boolean-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[True-complex128-boolean-array-na] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-float-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-float-boolean-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-float-boolean-array-na] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-int-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-int-boolean-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-int-boolean-array-na] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-complex128-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-complex128-boolean-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_mask[False-complex128-boolean-array-na] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-float-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-float-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-float-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-int-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-int-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-int-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-complex128-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-complex128-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[True-complex128-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-float-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-float-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-float-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-int-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-int-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-int-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-complex128-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-complex128-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array[False-complex128-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-float-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-float-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-float-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-int-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-int-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-int-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-complex128-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-complex128-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[True-complex128-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-float-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-float-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-float-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-int-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-int-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-int-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-complex128-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-complex128-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_integer_array_with_repeats[False-complex128-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_tuple_index[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_tuple_index[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_tuple_index[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_slice[True-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_slice[True-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_slice[True-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_slice[False-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_slice[False-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_slice[False-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_loc_iloc_slice[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_loc_iloc_slice[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_loc_iloc_slice[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[index-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[index-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[index-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[list[index]-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[list[index]-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[list[index]-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[full_slice-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[full_slice-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[full_slice-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[range-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[range-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[range-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[list(range)-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[list(range)-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[list(range)-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[mask-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[mask-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_dataframe_column[mask-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_row[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_row[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_with_expansion_row[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_delitem_series[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_delitem_series[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_delitem_series[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_2d_values[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_2d_values[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_setitem_2d_values[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_all_na_block[complex128-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_all_na_block[complex128-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_columns[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_columns[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_columns[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_extension_arrays_copy_false[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_extension_arrays_copy_false[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_extension_arrays_copy_false[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_with_reindex[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_with_reindex[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_concat_with_reindex[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align_frame[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align_frame[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align_frame[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align_series_frame[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align_series_frame[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_align_series_frame[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_merge[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_merge[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_merge[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_merge_on_extension_array[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_merge_on_extension_array_duplicates[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[float-True-columns0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[float-True-columns1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[float-False-columns0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[float-False-columns1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[int-True-columns0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[int-True-columns1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[int-False-columns0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[int-False-columns1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[complex128-True-columns0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[complex128-True-columns1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[complex128-False-columns0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_stack[complex128-False-columns1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_dataframe_repr[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_dataframe_repr[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_dataframe_repr[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_isna[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_dropna_series[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_dropna_frame[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_limit_pad[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_ffill_limit_area[complex128-outside-input_ilocs0-expected_ilocs0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_ffill_limit_area[complex128-outside-input_ilocs1-expected_ilocs1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_ffill_limit_area[complex128-outside-input_ilocs2-expected_ilocs2] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_ffill_limit_area[complex128-outside-input_ilocs3-expected_ilocs3] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_ffill_limit_area[complex128-inside-input_ilocs4-expected_ilocs4] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_ffill_limit_area[complex128-inside-input_ilocs5-expected_ilocs5] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_ffill_limit_area[complex128-inside-input_ilocs6-expected_ilocs6] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_ffill_limit_area[complex128-inside-input_ilocs7-expected_ilocs7] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_limit_backfill[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_series_method[ffill-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_series_method[bfill-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_value_counts_with_normalize[float] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_value_counts_with_normalize[int] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_value_counts_with_normalize[complex128] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_argmin_argmax[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_argmin_argmax[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_argmin_argmax[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[None-float-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[None-float-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[None-int-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[None-int-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[None-complex128-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[None-complex128-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[-float-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[-float-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[-int-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[-int-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[-complex128-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values[-complex128-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_missing[None-complex128-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_missing[None-complex128-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_missing[-complex128-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_missing[-complex128-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_frame[float-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_frame[float-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_frame[int-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_frame[int-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_frame[complex128-True] - TypeError: 'values' is not ordered, please explicitly specify the categories order by passing in a categories argument. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_sort_values_frame[complex128-False] - TypeError: 'values' is not ordered, please explicitly specify the categories order by passing in a categories argument. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[float-first] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[float-last] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[float-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[int-first] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[int-last] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[int-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[complex128-first] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[complex128-last] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_duplicated[complex128-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_unique[complex128--Series] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_unique[complex128--] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_unique[complex128-unique-Series] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_unique[complex128-unique-] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_factorize[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_factorize_equivalence[complex128] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_limit_frame[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_limit_series[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_copy_frame[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_copy_series[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_fillna_length_mismatch[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_combine_first[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_combine_first[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_combine_first[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[float--2-indices0-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[float--2-indices0-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[float-0-indices1-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[float-0-indices1-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[float-2-indices2-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[float-2-indices2-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[int--2-indices0-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[int--2-indices0-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[int-0-indices1-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[int-0-indices1-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[int-2-indices2-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[int-2-indices2-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[complex128--2-indices0-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[complex128--2-indices0-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[complex128-0-indices1-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[complex128-0-indices1-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[complex128-2-indices2-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_container_shift[complex128-2-indices2-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[float--4-indices0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[float--1-indices1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[float-0-indices2] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[float-1-indices3] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[float-4-indices4] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[int--4-indices0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[int--1-indices1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[int-0-indices2] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[int-1-indices3] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[int-4-indices4] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[complex128--4-indices0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[complex128--1-indices1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[complex128-0-indices2] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[complex128-1-indices3] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_non_empty_array[complex128-4-indices4] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_fill_value[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_fill_value[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_shift_fill_value[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_searchsorted[True-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_searchsorted[True-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_searchsorted[True-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_searchsorted[False-float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_searchsorted[False-int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_searchsorted[False-complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[True-True-complex128-0] - AssertionError: numpy array are different FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[True-True-complex128-1] - AssertionError: numpy array are different FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[True-True-complex128-2] - AssertionError: numpy array are different FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[True-True-complex128-repeats3] - AssertionError: numpy array are different FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[True-False-complex128-0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[True-False-complex128-1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[True-False-complex128-2] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[True-False-complex128-repeats3] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[False-True-complex128-0] - AssertionError: numpy array are different FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[False-True-complex128-1] - AssertionError: numpy array are different FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[False-True-complex128-2] - AssertionError: numpy array are different FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[False-True-complex128-repeats3] - AssertionError: numpy array are different FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[False-False-complex128-0] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[False-False-complex128-1] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[False-False-complex128-2] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_repeat[False-False-complex128-repeats3] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_delete[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_delete[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_delete[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_insert[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_insert[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_insert[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_equals[True-float-Series] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_equals[True-int-Series] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_equals[True-complex128-Series] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_equals[False-float-Series] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_equals[False-int-Series] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_equals[False-complex128-Series] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_groupby_agg_extension[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_groupby_extension_transform[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_groupby_extension_apply[scalar-complex128] - AssertionError: Did not see expected warning of class 'DeprecationWarning' FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_groupby_extension_apply[list-complex128] - AssertionError: Did not see expected warning of class 'DeprecationWarning' FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_groupby_extension_apply[series-complex128] - AssertionError: Did not see expected warning of class 'DeprecationWarning' FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_groupby_extension_apply[object-float] - AssertionError: Did not see expected warning of class 'DeprecationWarning' FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_groupby_extension_apply[object-int] - AssertionError: Did not see expected warning of class 'DeprecationWarning' FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_groupby_extension_apply[object-complex128] - AssertionError: Did not see expected warning of class 'DeprecationWarning' FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_in_numeric_groupby[complex128] - TypeError: agg function failed [how->sum,dtype->pint[meter]] FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_iloc_series[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_iloc_series[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_iloc_series[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_iloc_frame[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_iloc_frame[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_iloc_frame[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_series[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_series[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_series[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_frame[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_frame[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_frame[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_boolean_array_mask[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_boolean_array_mask[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_boolean_array_mask[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[float-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[float-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[float-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[int-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[int-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[int-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[complex128-list] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[complex128-integer-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_getitem_integer_array[complex128-numpy-array] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_get[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_get[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_get[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_sequence[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_sequence[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_sequence[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_empty[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_empty[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_empty[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_negative[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_negative[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_negative[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_non_na_fill_value[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_pandas_style_negative_raises[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_pandas_style_negative_raises[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_pandas_style_negative_raises[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_out_of_bounds_raises[float-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_out_of_bounds_raises[float-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_out_of_bounds_raises[int-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_out_of_bounds_raises[int-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_out_of_bounds_raises[complex128-True] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_out_of_bounds_raises[complex128-False] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_series[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray.FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_series[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_take_series[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_reindex[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_reindex[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_reindex[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_reindex_non_na_fill_value[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_len1[float] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_len1[int] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_loc_len1[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_series_constructor_scalar_with_index[complex128] - TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__radd__-float] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__radd__-int] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__radd__-complex128] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rsub__-float] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rsub__-int] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rsub__-complex128] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rmul__-float] - AssertionError FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rmul__-int] - AssertionError FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rmul__-complex128] - AssertionError FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rtruediv__-float] - AssertionError FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rtruediv__-int] - AssertionError FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rtruediv__-complex128] - AssertionError FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rpow__-float] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rpow__-int] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). FAILED pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar[__rpow__-complex128] - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). |
skipped tests:
all temporary skip are marked by |
Looks like there's a unique function issue similar to the take issue pint_pandas/testsuite/test_pandas_extensiontests.py::TestPintArray::test_value_counts_with_normalize[float] - TypeError: unique requires a Series, Index, ExtensionArray, or np.ndarray, got NumpyExtensionArray. FAILED |
FAILED pint_pandas/testsuite/test_issues.py::TestIssue80::test_div - AssertionError: assert <Quantity(88.294507, 'millisecond')> <= (5 * <Quantity(0.689048, 'millisecond')>) That test can be skipped, it's been causing issues for a long time |
Argh, shame on me, I concentrated on fixing pandas 3 but did not test my changes with pandas 2.2.2 .... |
I have not seen this test failling. @andrewgsavage do you remember which environment induced this issue ? |
It's in this post |
@@ -216,7 +241,8 @@ def __repr__(self): | |||
np.complex64: _NumpyEADtype("complex64"), | |||
# np.float16: pd.Float16Dtype(), | |||
} | |||
dtypeunmap = {v: k for k, v in dtypemap.items()} | |||
ddtypemap: dict[np.dtype, object] = {np.dtype(k): v for k, v in dtypemap.items()} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this needed for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is used line 300: if dtype in ddtypemap:
where dtype
is actually some np.dtype("xxxx")
variable.
Without this ddtypemap
the test was failing and line 302 pd.array
was fed with unrelevant dtype argument and was leading for all dtype to NumpyExtensionArray
.
Now that ddtypemap
is introduced pd.array
retruns Int64Dtype, Float64Dtype, or any other ExtensionArray
nice one |
I found a problem. If the dataframe consists of mixed
|
could you submit that as a PR? |
Done: #245. It exposes some more technical challenges for this PR. To really fix properly, I suspect we need to distinguish from operations that require compatibility (such as additive operations, clipping, quantiles, sorting) and those that don't (which include indexing and multiplicative operations). |
pre-commit run --all-files
with no errors