I have a 10 by 10 matrix which has dic as element. When I only want to update a single value, it ends up updating all values in that column. Why? and How to fix it?
m = [[{}] * 10]*10
m[0][0] = {"a":1}
Is there an equivalent numpy style to do the same thing(if it could be quicker by using Numpy)?