Skip to content
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

Merged
merged 9 commits into from
Jul 5, 2024
Merged

137 pandas eval #239

merged 9 commits into from
Jul 5, 2024

Conversation

mutricyl
Copy link
Contributor

@mutricyl mutricyl commented Jul 2, 2024

  • Closes Add support for pandas eval #137 (insert issue number)
  • Executed pre-commit run --all-files with no errors
  • The change is fully covered by automated unit tests
  • Documented in docs/ as appropriate
  • Added an entry to the CHANGES file
  • updated ci-pandas-pre.yml to really get dev version of pandas
  • Tests
    • CI
    • CI-pandas-pre : a few tests are failling but likely not linked to current merge request
    • CI-pint-master
    • CI-pint-pre

@andrewgsavage
Copy link
Collaborator

can you pytest skip the failing tests and they can be worked on in another PR?

@andrewgsavage
Copy link
Collaborator

andrewgsavage commented Jul 3, 2024

and add a note in changes to say eval now works

@mutricyl
Copy link
Contributor Author

mutricyl commented Jul 4, 2024

can you pytest skip the failing tests and they can be worked on in another PR?

I agree with you in principle and I will do that. However looking a little bit into details pytest -rf states 357 failed tests. 316 of them are : TypeError: pd.api.extensions.take requires a numpy.ndarray, ExtensionArray, Index, or Series, got NumpyExtensionArray. It may be worth investigating this particular issue instead of waisting to much time in adding @pytest.mark.skip.

pytest summary FAILED 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().

@mutricyl
Copy link
Contributor Author

mutricyl commented Jul 4, 2024

skipped tests:

  • test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar : tests with "radd", "rsub", "rmul", "rtruediv", "rpow" are not working with pandas 3
  • test_issues.py::TestIssue80::test_div : pandas 3 is so fast that _timeit returns 0
  • test_pandas_extensiontests.py : all test including complex are skipped due to NumpyExtensionArray issue in pandas take function BUG: pd.api.extensions.take does not accept NumpyExtensionArray pandas-dev/pandas#59177

all temporary skip are marked by GH #239

@andrewgsavage
Copy link
Collaborator

andrewgsavage commented Jul 4, 2024

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

@andrewgsavage
Copy link
Collaborator

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

@mutricyl
Copy link
Contributor Author

mutricyl commented Jul 5, 2024

Argh, shame on me, I concentrated on fixing pandas 3 but did not test my changes with pandas 2.2.2 ....

@mutricyl
Copy link
Contributor Author

mutricyl commented Jul 5, 2024

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

I have not seen this test failling. @andrewgsavage do you remember which environment induced this issue ?

@andrewgsavage
Copy link
Collaborator

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

I have not seen this test failling. @andrewgsavage do you remember which environment induced this issue ?

It's in this post
#239 (comment)

@@ -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()}
Copy link
Collaborator

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?

Copy link
Contributor Author

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

@andrewgsavage andrewgsavage merged commit 899dd26 into hgrecco:master Jul 5, 2024
31 checks passed
@andrewgsavage
Copy link
Collaborator

nice one

mutricyl pushed a commit to mutricyl/pint-pandas that referenced this pull request Jul 12, 2024
andrewgsavage pushed a commit that referenced this pull request Jul 13, 2024
@MichaelTiemannOSC
Copy link
Collaborator

I found a problem. If the dataframe consists of mixed PintType elements that are not compatible, the code will now fail. Here's a diff that adds a test case to 137 and fixed the problem in PintArray:

diff --git a/pint_pandas/pint_array.py b/pint_pandas/pint_array.py
index 9c5efab..86560f0 100644
--- a/pint_pandas/pint_array.py
+++ b/pint_pandas/pint_array.py
@@ -203,6 +203,7 @@ class PintType(ExtensionDtype):
 
         In order to be able to be able to perform operation on ``PintType``
         with scalars, mix of ``PintType`` and numeric values are allowed.
+        But all ``PintType`` elements must be compatible.
 
 
         Parameters
@@ -216,7 +217,13 @@ class PintType(ExtensionDtype):
         if all(
             isinstance(x, PintType) or pd.api.types.is_numeric_dtype(x) for x in dtypes
         ):
-            return self
+            PintType_list = [x for x in dtypes if isinstance(x, PintType)]
+            if len(PintType_list) < 2:
+                return self
+            if all (PintType_list[0].units.is_compatible_with(x.units) for x in PintType_list[1:]):
+                return self
+            else:
+                return None
         else:
             return None
 
diff --git a/pint_pandas/testsuite/test_issues.py b/pint_pandas/testsuite/test_issues.py
index 25709c5..c8c8a31 100644
--- a/pint_pandas/testsuite/test_issues.py
+++ b/pint_pandas/testsuite/test_issues.py
@@ -277,3 +277,14 @@ class TestIssue137(BaseExtensionTests):
         )
         tm.assert_series_equal(df.eval("a / b"), df["a"] / df["b"])
         tm.assert_series_equal(df.eval("a / c"), df["a"] / df["c"])
+
+    def test_mixed_df(self):
+        df = pd.DataFrame(
+            {
+                "a": pd.Series([1.0, 2.0, 3.0], dtype="pint[meter]"),
+                "b": pd.Series([4.0, 5.0, 6.0], dtype="pint[second]"),
+                "c": [1.0, 2.0, 3.0],
+            }
+        )
+
+        assert df["a"][0] == df.iloc[0][0]

@andrewgsavage
Copy link
Collaborator

could you submit that as a PR?

@MichaelTiemannOSC
Copy link
Collaborator

MichaelTiemannOSC commented Jul 19, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for pandas eval
3 participants