Can I use eachrow, eachcol, etc. to change array's values?

Thanks for the answers!

In my case, the solution is simply to ditch this machinery and do it the old-school way, ignoring the linter warnings

function filter!(table)
    for i in 2:size(table, 1)
        for j in 1:size(table, 2)
            current = table[i, j]
            for k in (j+1):size(table, 2)
                if current > 0 && table[i, k] < current * 2
                    table[i, k] = 0
                end
            end
        end
    end
    return table
end