Numpy Generate Random Boolean Python Valueerror Syntax