Broadcast [possibly missing] key value pairs from one Dict to another?

You can’t broadcast per-se but you can very easily do something like

[check[k] = v for (k,v) in check2]

It’s not clear though whether your question matches the example you’ve written, so I’m not sure if the above actually helps…

Edit:
You can also use merge and union (and their ! counterparts)

3 Likes