Open
Description
Bug report
tests/nested_pandas/nestedframe/test_nestedframe.py::test_get_nested_columns
/Users/hombit/projects/lincc-frameworks/nested-pandas/src/nested_pandas/nestedframe/core.py:284: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
super().__setitem__(key, value)
tests/nested_pandas/series/test_ext_array.py::test___array__
/Users/hombit/projects/lincc-frameworks/nested-pandas/tests/nested_pandas/series/test_ext_array.py:1126: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. To learn more, see the migration guide https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword
np_array = np.array(ext_array)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Before submitting
Please check the following:
- I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
- I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a description of what I expected instead.
- If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.