the operation
d = c
is not copying the content of c to d. It's pointing d to the address of c.
c
d
In order to copy the content of c to d, you need to do:
d = c[:]