Difference Numpy Array And Attributes In Database