sample random numbers float code example Example: np.random.float numpy.random.uniform(low=0.0, high=1.0, size=None)