Hey, thanks for your help!
How can you update the values of a subset of a dictionary?
key = collect(0:1:10)
value = zeros(length(ks))
dict = Dict(ks .=> vs)
filter_set = collect(5:1:10)
I can filter to the desired values using the below approach, but how do I mutate those values in the dictionary?
filter(x -> x[1] in filter_set, dict)
If there’s a better way to “subset” a dictionary by its keys given an array of values, please let me know too, thanks!