The code:
e = [1, 2, 3, 4, 5]
s = stats.sem(e, nan_policy = 'omit')
Error:
sem() got an unexpected keyword argument 'nan_policy'
I do not understand why I am getting this error; "nan_policy" is an excellent parameter acceptable for stats.sem().
source
share