print(np.random.randint(2, 1)) raises ValueError, also the documentation of np.random.uniform says those inputs are low and high.
Reproducing code example:
import numpy as np
print(np.random.uniform(2, 1))
NumPy/Python version information:
1.19.2 3.7.7 (default, May 7 2020, 21:25:33)
[GCC 7.3.0]
print(np.random.randint(2, 1))raisesValueError, also the documentation ofnp.random.uniformsays those inputs arelowandhigh.Reproducing code example:
NumPy/Python version information:
1.19.2 3.7.7 (default, May 7 2020, 21:25:33)
[GCC 7.3.0]