Skip to content

Conversation

@soxofaan
Copy link
Member

Issue #459

@soxofaan
Copy link
Member Author

jenkins run in python 3.11 env (with pandas3) just finished.

original problem ("Cannot interpret '<StringDtype(na_value=nan)>' as a data type") is gone, but one remaining problem:

>   ???
E   KeyError: 'A'

pandas/_libs/tslibs/offsets.pyx:6213: KeyError

During handling of the above exception, another exception occurred:

>   ???

pandas/_libs/tslibs/offsets.pyx:6344: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pandas/_libs/tslibs/offsets.pyx:6219: in pandas._libs.tslibs.offsets._get_offset
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   ValueError: Invalid frequency: A-DEC. Failed to parse with error message: KeyError('A'). Did you mean Y-DEC?

pandas/_libs/tslibs/offsets.pyx:6137: ValueError

During handling of the above exception, another exception occurred:

    def test_period_to_intervals_yearly():
>       intervals = _period_to_intervals("2018-06-08", "2021-08-24", "year")
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_ProcessGraphDeserializer.py:68: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
openeo_driver/ProcessGraphDeserializer.py:1462: in _period_to_intervals
    start_dates = pd.date_range(
venv311/lib/python3.11/site-packages/pandas/core/indexes/datetimes.py:1442: in date_range
    freq = to_offset(freq)
           ^^^^^^^^^^^^^^^
pandas/_libs/tslibs/offsets.pyx:6229: in pandas._libs.tslibs.offsets.to_offset
    ???
pandas/_libs/tslibs/offsets.pyx:6352: in pandas._libs.tslibs.offsets.to_offset
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   ValueError: Invalid frequency: A-DEC. Failed to parse with error message: ValueError("Invalid frequency: A-DEC. Failed to parse with error message: KeyError('A'). Did you mean Y-DEC?") Did you mean Y-DEC?

pandas/_libs/tslibs/offsets.pyx:6137: ValueError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants