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 really enjoy OpenFisca-Survey-Manager, but I recently encountered an issue.
Here is what I did:
Run a simulation.
Here is what I expected to happen:
Clean log
Here is what actually happened:
Many warnings:
/python3.10/site-packages/openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation_import_baremes_locaux.py:4
/python3.10/site-packages/openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation_import_baremes_locaux.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
/python3.10/site-packages/pkg_resources/__init__.py:3117
/python3.10/site-packages/pkg_resources/__init__.py:3117
/python3.10/site-packages/pkg_resources/__init__.py:3117: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zope')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
tests/test_af_web.py: 88 warnings
/python3.10/site-packages/openfisca_survey_manager/simulations.py:1053: DeprecationWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, pd.CategoricalDtype) instead
if (not pd.api.types.is_categorical_dtype(series)) and np.issubdtype(series.values.dtype, np.floating):
tests/test_af_web.py: 16 warnings
/python3.10/site-packages/openfisca_survey_manager/simulations.py:1067: DeprecationWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, pd.CategoricalDtype) instead
pd.api.types.is_categorical_dtype(series)
tests/test_af_web.py: 16 warnings
/python3.10/site-packages/openfisca_survey_manager/simulations.py:484: FutureWarning: A value is trying to be set on a copy of a DataFrame or Series through chained assignment using an inplace method.
The behavior will change in pandas 3.0. This inplace method will never work because the intermediate object on which we are setting values always behaves as a copy.
For example, when doing 'df[col].method(value, inplace=True)', try using 'df.method({col: value}, inplace=True)' or df[col] = df[col].method(value) instead, to perform the operation inplace on the original object.
data_frame[value].fillna(missing_variable_default_value, inplace = True)
tests/test_af_web.py: 32 warnings
/python3.10/site-packages/openfisca_survey_manager/simulations.py:470: FutureWarning: A value is trying to be set on a copy of a DataFrame or Series through chained assignment using an inplace method.
The behavior will change in pandas 3.0. This inplace method will never work because the intermediate object on which we are setting values always behaves as a copy.
For example, when doing 'df[col].method(value, inplace=True)', try using 'df.method({col: value}, inplace=True)' or df[col] = df[col].method(value) instead, to perform the operation inplace on the original object.
data_frame[value].fillna(missing_variable_default_value, inplace = True)
Here is data (or links to it) that can help you reproduce this issue:
Context
I identify more as a:
Developer (I create tools that use OpenFisca-Survey-Manager).
LexImpact (I model reforms to make them exist).
The text was updated successfully, but these errors were encountered:
Hi there!
I really enjoy OpenFisca-Survey-Manager, but I recently encountered an issue.
Here is what I did:
Run a simulation.
Here is what I expected to happen:
Clean log
Here is what actually happened:
Many warnings:
Here is data (or links to it) that can help you reproduce this issue:
Context
I identify more as a:
The text was updated successfully, but these errors were encountered: