NumPy - Array Manipulation
You have a 1D numpy array
data with shape (100,). You want to prepare it for a machine learning model that expects input shape (100, 1). Which code correctly reshapes data using np.newaxis?