<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinshin86</author_name>
  <author_url>https://blog.hatena.ne.jp/shinshin86/</author_url>
  <blog_title>at backyard</blog_title>
  <blog_url>https://shinshin86.hateblo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>備忘録</anon>
  </categories>
  <description>自分のためへの備忘録。 もっと良い方法があるかもしれないが、重複は削除したうえで、とにかく二次元配列を一次元配列に変換したいという時。 (順番などは考慮しない) 試したPythonのversionは3.5.1 &gt;&gt;&gt; sample_list = [[1,2,3], [&quot;hoge&quot;, &quot;fuga&quot;, &quot;BBB&quot;], [&quot;AAA&quot;, &quot;BBB&quot;, &quot;CCC&quot;, &quot;hoge&quot;], [1, 2]] &gt;&gt;&gt; sample_list [[1, 2, 3], ['hoge', 'fuga', 'BBB'], ['AAA', 'BBB', 'CCC', 'hoge'], [1, 2]] &gt;&gt;&gt; list(se…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinshin86.hateblo.jp%2Fentry%2F2017%2F12%2F29%2F070719&quot; title=&quot;pythonでとにかく２次元配列を１次元配列に変換したいとき(重複は削除した上で) - at backyard&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-12-29 07:07:19</published>
  <title>pythonでとにかく２次元配列を１次元配列に変換したいとき(重複は削除した上で)</title>
  <type>rich</type>
  <url>https://shinshin86.hateblo.jp/entry/2017/12/29/070719</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
