DataFrame Manipulation

I am using some operation on DataFrame and getting the following warning. How am I supposed to change the syntax

for col in [:A,:B,:D]
    df[(df[col] .=="yy"),col] .="xxxx"
end
 Warning: `getindex(df::DataFrame, col_ind::ColumnIndex)` is deprecated, use `df[!, col_ind]` instead.
│   caller = top-level scope at Fraud_analysis_Julia_Jan19 (1).jl:52 [inlined]
└ @ Core C:\Users\Himanshi\Desktop\Julia\jlfiles\Fraud_analysis_Julia_Jan19 (1).jl:52
for col in [:A,:B,:D]
    df[df[!, col] .=="yy", col] .= "xxxx"
end

should do it.

@cormullion: Thanks