<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuta-nakata</author_name>
  <author_url>https://blog.hatena.ne.jp/yuta-nakata/</author_url>
  <blog_title>Yuta NakataのBlog</blog_title>
  <blog_url>https://www.yuta-nakata.net/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Numpy</anon>
  </categories>
  <description>困った点 import numpy as np data = np.array([1.23, 4.56, 7.89], dtype=np.float32) no_value = np.float32(-9999) factor = 100 data = np.ma.masked_equal(data, no_value) # 1. Using data[~data.mask] result1 = data[~data.mask] * factor print(result1) # [[123.00000191 455.99999428 788.99998665]] print(type(res…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yuta-nakata.net%2Fentry%2F2025%2F06%2F15%2F135518&quot; title=&quot;【Python/NumPy】MaskedArrayとndarrayの違いと注意点｜データ欠損処理の落とし穴 - Yuta NakataのBlog&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>2025-06-15 13:55:18</published>
  <title>【Python/NumPy】MaskedArrayとndarrayの違いと注意点｜データ欠損処理の落とし穴</title>
  <type>rich</type>
  <url>https://www.yuta-nakata.net/entry/2025/06/15/135518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
