<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>pandas</anon>
    <anon>Tips</anon>
  </categories>
  <description>概要 DataFrameから平均と標準偏差を計算する方法をメモしておきます。 目次 概要 列の平均と標準偏差を計算したい 行の平均と標準偏差を計算したい 特定の列・行だけ取り出してから計算する describeメソッドで全体の雰囲気を掴む 列の平均と標準偏差を計算したい とても簡単にできます。 &gt;&gt;&gt; import pandas as pd &gt;&gt;&gt; df = pd.DataFrame([[1,2,3,4,5,6], [6,5,4,3,2,1], [0,1,2,3,4,5], [5,4,3,2,1,0]], columns=[*&quot;ABCDEF&quot;]) &gt;&gt;&gt; df.mean() A 3.0 B 3…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2018%2F04%2F24%2F221933&quot; title=&quot;【python】pandasでDataFrameの平均と標準偏差を計算する方法 - 静かなる名辞&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-04-24 22:19:33</published>
  <title>【python】pandasでDataFrameの平均と標準偏差を計算する方法</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2018/04/24/221933</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
