import dython
import pandas as pd
from dython.nominal import associations
tbl = pd.read_csv("dhs_table.csv")
hi = associations(tbl, nom_nom_assoc='cramer',clustering=True,compute_only=True)
bye = hi["corr"]
bye.to_csv("dhs_correlation.csv")
Error message:
Error message:
warnings.warn(
/anaconda3/lib/python3.8/site-packages/dython/nominal.py:137: RuntimeWarning: Unable to calculate Cramer's V using bias correction. Consider using bias_correction=False
Input data:
Input data contains ~40,000 columns of variables x 33 rows
do I have to paste the whole data table?
0 1 2 3
CENH3 G B E E
H1 B G E F
H2A B E G F
H2AK121ub A E A G
H2Aub A E C G
H2B B E G D
H2Bub F E F F
H3ac G E G E
H3 B E G G
Version check:
Run and copy the output:
Describe the bug:
Code to reproduce:
Error message:
Error message:
Input data:
Input data contains ~40,000 columns of variables x 33 rows do I have to paste the whole data table?
CENH3 G B E E H1 B G E F H2A B E G F H2AK121ub A E A G H2Aub A E C G H2B B E G D H2Bub F E F F H3ac G E G E H3 B E G G