Removing redundant numpy