How to make dummy coding (pd.get_dummies()) only for categories which share in nominal variables is at least 40% in Python Pandas?
How to make dummy coding (pd.get_dummies()) only for categories which share in nominal variables is at least 40% in Python Pandas? Question: I have DataFrame like below: COL1 | COL2 | COL3 | … | COLn —–|——|——|——|—- 111 | A | Y | … | … 222 | A | Y | … | … …