<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kurene</author_name>
  <author_url>https://blog.hatena.ne.jp/Kurene/</author_url>
  <blog_title>Wizard Notes</blog_title>
  <blog_url>https://www.wizard-notes.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>やりたいこと numpyの1次元配列 x の内、v_min 以上 v_max以下の要素だけを抽出した1次元配列 y と、対応するインデックスの1次元配列 indices を得たいとします。 &gt;&gt;&gt; x array([0.20204346, 0.71742434, 0.05195665, 0.50794105, 0.08809835, 0.80818671, 0.20618913, 0.60163578, 0.55757078, 0.74752494]) &gt;&gt;&gt; v_min, v_max = 0.2, 0.8 ... &gt;&gt;&gt; y array([0.20204346, 0.71742434, 0.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.wizard-notes.com%2Fentry%2Fpython%2Fdev%2F00000001&quot; title=&quot;Numpy: 1次元配列から、特定の値の範囲のみを抽出した1次元配列を作る - Wizard Notes&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-16 22:16:27</published>
  <title>Numpy: 1次元配列から、特定の値の範囲のみを抽出した1次元配列を作る</title>
  <type>rich</type>
  <url>https://www.wizard-notes.com/entry/python/dev/00000001</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
