/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)
/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)