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
Pandas 2.0 is the new major pandas release. It introduces API-breaking changes. The following rpy2 tests fail with pandas 2.0.
FAILED rpy2/tests/robjects/test_pandas_conversions.py::TestPandasConversions::test_series_issue264 - AttributeError: module 'pandas' has no attribute 'Int64Index'
FAILED rpy2/tests/robjects/test_pandas_conversions.py::TestPandasConversions::test_datetime2posixct - AttributeError: 'datetime.timezone' object has no attribute 'zone'
FAILED rpy2/tests/robjects/test_pandas_conversions.py::TestPandasConversions::test_datetime2posixct_withNA - AttributeError: 'datetime.timezone' object has no attribute 'zone'
Describe the issue or bug
Pandas 2.0 is the new major
pandas
release. It introduces API-breaking changes. The followingrpy2
tests fail with pandas 2.0.To Reproduce
pandas
to the latest in the 2.0 series.pytest rpy2/tests/robjects/test_pandas_conversions.py
Expected behavior
Tests passing without error.
Error
Additional context
None.
The text was updated successfully, but these errors were encountered: