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
When running a few notebooks on pandas 2.x, errors like those can be observed:
TypeError: Could not convert string 'BerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlinBerlin' to numeric
Apparently, Google Colab now strictly uses and requires pandas 2.x since 2024-05-13?
Thoughts
It looks like it is a data shape error. Maybe the way the notebooks are working with pandas needs an update when using more recent pandas 2.x? The string repetition flaw reminds me of the famous »Wat« talk by Gary Bernhardt. ;]
Workaround
As a temporary measure, tests stopped including the corresponding notebook. It will get skipped per cfd1a6c, on behalf of the relevant modernization patch.
amotl
changed the title
Time Series: exploratory_data_analysis.ipynb not compatible with pandas 2.x
Time Series: Some notebooks not compatible with pandas 2.x
Jun 18, 2024
amotl
changed the title
Time Series: Some notebooks not compatible with pandas 2.x
Time Series: Some notebooks are not compatible with pandas 2.x
Jun 18, 2024
Observations
When running a few notebooks on pandas 2.x, errors like those can be observed:
-- https://github.com/crate/cratedb-examples/actions/runs/8975962618/job/24651748395?pr=430#step:6:1839
-- https://github.com/crate/cratedb-examples/actions/runs/8975962618/job/24651748121?pr=430#step:6:825
References
Evaluations
Thoughts
It looks like it is a data shape error. Maybe the way the notebooks are working with pandas needs an update when using more recent pandas 2.x? The string repetition flaw reminds me of the famous »Wat« talk by Gary Bernhardt. ;]
Workaround
As a temporary measure, tests stopped including the corresponding notebook. It will get skipped per cfd1a6c, on behalf of the relevant modernization patch.
Originally posted by @amotl in #430 (comment)
The text was updated successfully, but these errors were encountered: