. . "(1) A parent, adoptive parent, guardian or other person who by gross dereliction of their duty to provide for and bring up a minor neglects a minor they are obliged to take care of, shall be punished with imprisonment up to three years." . . .