I keep getting this error message:
TypeError: ttest_1samp() got an unexpected keyword argument 'alternative'
My code is:
test_stat, p_value = ttest_1samp(FF['Time'], popmean=40, alternative='greater')
print('the p-value is', p_value)
I keep getting this error message:
TypeError: ttest_1samp() got an unexpected keyword argument 'alternative'
My code is:
test_stat, p_value = ttest_1samp(FF['Time'], popmean=40, alternative='greater')
print('the p-value is', p_value)