Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings à gérer #43

Open
emilienschultz opened this issue Jan 9, 2024 · 0 comments
Open

Warnings à gérer #43

emilienschultz opened this issue Jan 9, 2024 · 0 comments

Comments

@emilienschultz
Copy link
Owner

/Users/emilien/opt/anaconda3/lib/python3.9/site-packages/pyshs/_core.py:298: FutureWarning: The provided callable is currently using DataFrameGroupBy.sum. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string "sum" instead.
pd.crosstab(df[c1], df[c2], df[poids], aggfunc=sum, margins=True), ro
/Users/emilien/opt/anaconda3/lib/python3.9/site-packages/pyshs/_core.py:298: FutureWarning: The provided callable is currently using DataFrameGroupBy.sum. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string "sum" instead.
pd.crosstab(df[c1], df[c2], df[poids], aggfunc=sum, margins=True), ro
/Users/emilien/opt/anaconda3/lib/python3.9/site-packages/pyshs/_core.py:298: FutureWarning: The provided callable is currently using DataFrameGroupBy.sum. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string "sum" instead.
pd.crosstab(df[c1], df[c2], df[poids], aggfunc=sum, margins=True), ro
/Users/emilien/opt/anaconda3/lib/python3.9/site-packages/pyshs/_core.py:309: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '265.9 (79.4%)' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
t.iloc[i, j] = (
/Users/emilien/opt/anaconda3/lib/python3.9/site-packages/pyshs/_core.py:309: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '36.1 (10.8%)' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
t.iloc[i, j] = (
/Users/emilien/opt/anaconda3/lib/python3.9/site-packages/pyshs/_core.py:309: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '32.8 (9.8%)' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
t.iloc[i, j] = (
/Users/emilien/opt/anaconda3/lib/python3.9/site-packages/patsy/util.py:672: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return _pandas_is_categorical_dtype(dt)

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

No branches or pull requests

1 participant