First time here? Check out the FAQ!
answered 2013-07-29 05:16:23 +0100
Hello,
when assigning N to K, no data is copied, so you working on the original data, To keep the original, you need a deep copy of N:
K=N.copy()