SciPy - Statistical Tests
What is wrong with this hypothesis test code?
from scipy.stats import ttest_ind sample1 = [1, 2, 3] sample2 = [4, 5] t_stat, p_val = ttest_ind(sample1, sample2, equal_var=False, alternative='greater') print(p_val)
