🌈 搜索
📅  最后修改于: 2022-03-11 14:45:46.286000             🧑  作者: Mango
# get all categorical columns in the dataframe catCols = [col for col in df.columns if df[col].dtype=="O"]