📜  if条件数据框python代码示例

📅  最后修改于: 2022-03-11 14:46:19.386000             🧑  作者: Mango

代码示例3
df.loc[df['column name'] condition, 'new column name'] = 'value if condition is met'