Repository: hgrecco/pint-pandas (language: python)

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

follow up from #237 & #239
This is a follow up from pandas nightly build CI job introduction. The following tests have been skipped to get green light workflow for #239. They need to be fixed.

Looks like also that `unique` function was inducing errors in tests but this was unexpectedly solved. It might be worth to investigate this a little bit.

> 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 https://github.com/pandas-dev/pandas/issues/59177
> 
> all temporary skip are marked by `GH #239`

_Originally posted by @mutricyl in https://github.com/hgrecco/pint-pandas/issues/239#issuecomment-2208856625_
            
> 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

_Originally posted by @andrewgsavage in https://github.com/hgrecco/pint-pandas/issues/239#issuecomment-2209347877_


Discussion / hints:
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
> 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`.

<details><summary> pytest summary </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[<lambda>-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[<lambda>-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[<lambda>-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[<lambda>-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[<lambda>-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[<lambda>-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[<lambda>-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[<lambda>-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-<lambda>-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-<lambda>-<lambda>] - 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-<lambda>] - 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().
</details>


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 https://github.com/pandas-dev/pandas/issues/59177

all temporary skip are marked by `GH #239`
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 ....
> 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 ?
> > 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 
https://github.com/hgrecco/pint-pandas/pull/239#issuecomment-2208326717
nice one
https://github.com/pandas-dev/pandas/issues/59177 was resolved so `complex` may be allowed again for pandas >= 3

The two pandas issues with `take` and `unique` being solved, I add a look at the `r` operator issue in `test_pandas_extensiontests.py::TestPintArray::test_arith_frame_with_scalar`

I have identified the change in behavior is pandas 3 that induce pint and pint-pandas to fail with right operator. `pint.compat.is_upcast_type` behavior changed between pandas version due to `type(df)` that used to return `<class 'pandas.core.frame.DataFrame'>` which is now returning `<class 'pandas.DataFrame'>`.

@andrewgsavage do you think we should tackle this on the pandas side or on pint side ?


nice find, just need to add `pandas.DataFrame` to
https://github.com/hgrecco/pint/blob/b2fc74a7d6038d206d158804daa32e1698f89c26/pint/compat.py#L242
for the record the pandas' change is a features : https://github.com/pandas-dev/pandas/pull/55171
shall we make CI-pandas-pre use also pint pre version or update the tests to xfail while pint is not strictly above 0.24.1 ?
I'll release a new pint version after `pandas.DataFrame` and `pandas.Series` are added to upcast types

Fix patch:
diff --git a/.github/workflows/ci-pandas-pre.yml b/.github/workflows/ci-pandas-pre.yml
index 3b078d9..d510c73 100644
--- a/.github/workflows/ci-pandas-pre.yml
+++ b/.github/workflows/ci-pandas-pre.yml
@@ -9,7 +9,7 @@ jobs:
         python-version: ["3.10", "3.11", "3.12"]
         numpy: ["numpy>=1.20.3,<2.0.0", "numpy==2.0.0.rc2"]
         pandas: ["pandas>=3.0.0"]
-        pint: ["pint==0.24"]
+        pint: ["pint>=0.24"]
 
     runs-on: ubuntu-latest
 


Test patch:
diff --git a/pint_pandas/testsuite/test_issues.py b/pint_pandas/testsuite/test_issues.py
index 14bbe49..25709c5 100644
--- a/pint_pandas/testsuite/test_issues.py
+++ b/pint_pandas/testsuite/test_issues.py
@@ -138,7 +138,7 @@ def test_reductions(self, reduction):
             t = self._timeit(getattr(s, reduction)).to("ms")
 
             if t > 0:
-                assert tp <= 5 * t
+                assert tp <= 10 * t
 
 
 def test_issue_86():
diff --git a/pint_pandas/testsuite/test_pandas_extensiontests.py b/pint_pandas/testsuite/test_pandas_extensiontests.py
index df0daf1..d7a4feb 100644
--- a/pint_pandas/testsuite/test_pandas_extensiontests.py
+++ b/pint_pandas/testsuite/test_pandas_extensiontests.py
@@ -38,14 +38,7 @@ def dtype():
 
 
 _base_numeric_dtypes = [float, int]
-if pandas_version_info <= (3, 0, 0):
-    _all_numeric_dtypes = _base_numeric_dtypes + [np.complex128]
-else:
-    # work around to make test pass in the context of GH #239
-    # complex induce NumpyExtensionArray that are not managed by
-    # latest version of pandas.core.algorithms.take
-    # https://github.com/pandas-dev/pandas/issues/59177
-    _all_numeric_dtypes = _base_numeric_dtypes
+_all_numeric_dtypes = _base_numeric_dtypes + [np.complex128]
 
 
 @pytest.fixture(params=_all_numeric_dtypes)
@@ -321,17 +314,6 @@ def test_insert_invalid(self):
     def _get_expected_exception(
         self, op_name: str, obj, other
     ):  #  -> type[Exception] | None, but Union types not understood by Python 3.9
-        if op_name in [
-            "__radd__",
-            "__rsub__",
-            "__rmul__",
-            "__rtruediv__",
-            "__rpow__",
-        ] and pandas_version_info >= (3, 0, 0):
-            pytest.skip(
-                f"ongoing issue with pandas >=3 with {type(obj).__name__} that does not support {op_name}. GH #239"
-            )
-            return TypeError
         if op_name in ["__pow__", "__rpow__"]:
             return DimensionalityError