問題タブ [elementwise-operations]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - Python:データフレーム内の複数の配列の要素ごとの標準偏差を取得する方法
各セルに配列と NaN を含むかなり大きなデータフレーム (df) があり、最初の 3 行は次のようになります。
私はすでに(piRSquaredのおかげで)各列の行に対して要素ごとの平均を取る方法を知っているので、これを得ることができます:
今、それぞれの標準偏差を取得する方法を知りたいのですが、何か考えはありますか? また、 groupby() が何をしているのかまだわかりません。誰かがその機能をより詳細に説明できますか?
df
element_wise_mean
element_wise_sd