<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rare_Remrin</author_name>
  <author_url>https://blog.hatena.ne.jp/rare_Remrin/</author_url>
  <blog_title>Remrinのpython攻略日記</blog_title>
  <blog_url>https://python-remrin.hatenadiary.jp/</blog_url>
  <categories>
    <anon>numpy</anon>
    <anon>ライブラリ</anon>
    <anon>python</anon>
  </categories>
  <description>NumPyの集合関数について。 python標準のset型も参照。 1次元配列を対象とした集合関数 unique(x) 重複を除外し、ソートした配列 in1d(x,y) xの各要素がyに存在するか intersect1d(x, ) 共通部分。積集合 union1d(x, y) 和集合 setdiff1d(x, y) 差集合 setxor1d(x, y) 排他的論理和 np.unique() 1次元の配列から重複を取り除き、ソートした配列を返す。 python標準のsorted(set(seq))と同様の働き。 import numpy as np a1 = np.array([1, 3, 2,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F12%2F174819&quot; title=&quot;NumPyの使い方（１０）　集合関数 - Remrinのpython攻略日記&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>2017-05-12 17:48:19</published>
  <title>NumPyの使い方（１０）　集合関数</title>
  <type>rich</type>
  <url>https://python-remrin.hatenadiary.jp/entry/2017/05/12/174819</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
