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-appender is a somewhat overly clever package that lets paramsurvey append the incremental output it seems to a dataframe. Due to the removal of a function in pandas 2, it needs to be updated. This became very obvious recently because numpy 2, which was released last June, requires pandas 2 and doesn't say that in its metadata.
I'm going to fix pandas-appender and I'll close this issue when I'm done.
The error looks like: ERROR test/unit/test_multiprocessing.py - ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject -- which is confusingly similar to a different numpy problem from the past, with a different solution.
I've added a workaround to paramsurvey to hide this problem. If anyone sees this elsewhere, the way to hide it is to install:
pip install 'numpy<2'
I don't think updating ehtim will ever see this problem.
The text was updated successfully, but these errors were encountered:
It seems the DataFrame._append function is still present in Pandas 2.2. If I replace df.append with df._append in the pandas-appender package, it passes all tests.
pandas-appender is a somewhat overly clever package that lets paramsurvey append the incremental output it seems to a dataframe. Due to the removal of a function in pandas 2, it needs to be updated. This became very obvious recently because numpy 2, which was released last June, requires pandas 2 and doesn't say that in its metadata.
I'm going to fix pandas-appender and I'll close this issue when I'm done.
The error looks like:
ERROR test/unit/test_multiprocessing.py - ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
-- which is confusingly similar to a different numpy problem from the past, with a different solution.I've added a workaround to paramsurvey to hide this problem. If anyone sees this elsewhere, the way to hide it is to install:
pip install 'numpy<2'
I don't think updating ehtim will ever see this problem.
The text was updated successfully, but these errors were encountered: