2016-04-16 8 views

答えて

4

scipy.stats.semは、リリース0.17.0でキーワード引数nan_policyを取得しただけです。リリース0.16.0を使用している可能性が最も高いのは、まだ多くの人がいます。この場合、他の2つのキーワード引数axisddofにしかアクセスできません。

From the release notes for 0.17.0

Many functions in scipy.stats have gained a nan_policy keyword, which allows specifying how to treat input with NaNs in them: propagate the NaNs, raise an error, or omit the NaNs.

残念ながら自分ではNaNだらけの入力を処理する必要があります。

+0

ありがとうございます。リリース0.17.0に更新することは可能ですか? –

+0

@TylerAdkinsもちろん、Pythonのパッケージインデックス[here](https://pypi.python.org/pypi/scipy)で見つけることができます。 – miradulo

関連する問題