Numpy one-liner
Approach\nDid you know you could use numpy on LeetCode? I didn\'t.\n# Code\n\nimport numpy as np\n\nclass Solution:\n    def arraySign(self, nums: List[int]) ->
# Approach\nDid you know you could use numpy on LeetCode? I didn\'t.\n# Code\n```\nimport numpy as np\n\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        return np.prod(np.sign(nums))\n```
['Python3']