pd.get_dummies允许将分类变量转换为虚拟变量.除了重建分类变量是微不足道的事实之外,还有一种首选/快速的方法吗?
pd.get_dummies
python pandas
pandas ×1
python ×1