📜  根据列设置值 - Python 代码示例

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

代码示例3
df.loc[(df.Event == 'Dance'),'Event']='Hip-Hop'
df