You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting quite a few pandas deprecation warnings during testing. Here is a snippet from the pytest output:
=============================== warnings summary ===============================
../anaconda/envs/rs/lib/python3.11/site-packages/pandas/tests/extension/base/__init__.py:119: 24 warnings
/Users/kmdalton/opt/anaconda/envs/rs/lib/python3.11/site-packages/pandas/tests/extension/base/__init__.py:119: FutureWarning: BaseBooleanReduceTests is deprecated and will be removed in a future version. Use BaseReduceTests and override `_supports_reduction` instead.
warnings.warn(
../anaconda/envs/rs/lib/python3.11/site-packages/pandas/tests/extension/base/__init__.py:108: 24 warnings
/Users/kmdalton/opt/anaconda/envs/rs/lib/python3.11/site-packages/pandas/tests/extension/base/__init__.py:108: FutureWarning: BaseNumericReduceTests is deprecated and will be removed in a future version. Use BaseReduceTests and override `_supports_reduction` instead.
warnings.warn(
tests/dtypes/test_floats_pandas.py: 286 warnings
tests/dtypes/test_ints_pandas.py: 88 warnings
/Users/kmdalton/opt/anaconda/envs/rs/lib/python3.11/site-packages/pandas/tests/extension/base/reshaping.py:332: FutureWarning: Mismatched null-like values nan and <NA> found. In a future version, pandas equality-testing functions (e.g. assert_frame_equal) will consider these not-matching and raise.
tm.assert_frame_equal(result, expected)
tests/dtypes/test_floats_pandas.py: 13 warnings
tests/dtypes/test_ints_pandas.py: 4 warnings
/Users/kmdalton/opt/anaconda/envs/rs/lib/python3.11/site-packages/pandas/tests/extension/base/getitem.py:276: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
ser[idx]
tests/dtypes/test_floats_pandas.py: 13 warnings
tests/dtypes/test_ints_pandas.py: 4 warnings
/Users/kmdalton/opt/anaconda/envs/rs/lib/python3.11/site-packages/pandas/tests/extension/base/setitem.py:227: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
arr[idx] = arr[0]
tests/io/test_precognition.py::test_read_hkl[None-None]
tests/io/test_precognition.py::test_read_hkl[None-96]
tests/io/test_precognition.py::test_read_hkl[None-P 43 21 2]
tests/io/test_precognition.py::test_read_hkl[cell1-None]
tests/io/test_precognition.py::test_read_hkl[cell1-96]
tests/io/test_precognition.py::test_read_hkl[cell1-P 43 21 2]
/Users/kmdalton/opt/reciprocalspaceship/reciprocalspaceship/io/precognition.py:31: FutureWarning: The 'delim_whitespace' keyword in pd.read_csv is deprecated and will be removed in a future version. Use ``sep='\s+'`` instead
F = pd.read_csv(
tests/io/test_precognition.py: 12 warnings
/Users/kmdalton/opt/reciprocalspaceship/reciprocalspaceship/io/precognition.py:49: FutureWarning: The 'delim_whitespace' keyword in pd.read_csv is deprecated and will be removed in a future version. Use ``sep='\s+'`` instead
F = pd.read_csv(
I'll try to dig up some more details, but I figured it was worth raising this.
The text was updated successfully, but these errors were encountered:
I'm getting quite a few pandas deprecation warnings during testing. Here is a snippet from the pytest output:
I'll try to dig up some more details, but I figured it was worth raising this.
The text was updated successfully, but these errors were encountered: