SciPy - Statistical Functions (scipy.stats) Basics
Find the mistake in this code:
import numpy as np from scipy import stats data = np.array([3, 5, 7, 9]) ci = stats.t.interval(0.95, len(data), loc=np.mean(data), scale=stats.sem(data)) print(ci)
