Numpy Arange Float krok
# Float range from 0.0 to 1.0 by 0.1 steps
np.arange(0, 1.1, 0.1)
# Output 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0
Arthur Elskens
# Float range from 0.0 to 1.0 by 0.1 steps
np.arange(0, 1.1, 0.1)
# Output 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0