<?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>Tips</anon>
  </categories>
  <description>pythonでゴリゴリ処理を書いていると、「とりあえずzipでまとめといて後からほぐす」的な処理をうっかり書いてしまうことがある（本当にそのデータフローが最適なの？ という疑問は常にあるのだけど、ループ処理の都合でその方が書きやすかったりすると特にそうなりやすい）。 問題は「どうやって元に戻すか」で、色んなやり方があり、基本的にあまり綺麗なやり方はない。 たとえば、こういう処理を書く人も多いのではないだろうか。 d = list(zip(a, b, c)) ... a2 = [x[0] for x in d] b2 = [x[1] for x in d] c2 = [x[2] for x in…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2017%2F02%2F18%2F015049&quot; title=&quot;【python】pythonでzipしたものを元に戻す（unzipする） - 静かなる名辞&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-02-18 01:50:49</published>
  <title>【python】pythonでzipしたものを元に戻す（unzipする）</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2017/02/18/015049</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
