<?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>scipy</anon>
    <anon>統計</anon>
  </categories>
  <description>概要 z得点を計算しようとしたとき、このような警告を見かけることがあります。 RuntimeWarning: invalid value encountered in true_divide これが出た場合、結果にはnanが含まれています。なので後段の分析で落ちたりします。 &gt;&gt;&gt; import numpy as np &gt;&gt;&gt; from scipy.stats import zscore &gt;&gt;&gt; a = np.array([[1,2,3,4], [1,2,3,4],[1,3,4,5]]) &gt;&gt;&gt; zscore(a, axis=0) stats.py:2248: RuntimeWarning: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2018%2F03%2F20%2F173020&quot; title=&quot;【python】scipy.statsのzscoreで警告が出るときの対策 - 静かなる名辞&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-03-20 17:30:20</published>
  <title>【python】scipy.statsのzscoreで警告が出るときの対策</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2018/03/20/173020</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
