Hi all, a simple question regarding if statements in notebook,
i need to change a numpy array value depending on weither or not an if condition is met
Thanks for your time
import numpy as np
import matplotlib.pyplot as plt
x = np.random.random((21, 1))
y = np.random.random((21, 1))
if x > 0.5:
y = y / 10
plt.plot(x)
plt.plot(y)