iv class="documentwrapper">
        <div class="bodywrapper">


          <div class="body" role="main">

  <h1>Source code for cityiq.cli.util</h1><div class="highlight"><pre>
<span></span><span class="kn">import</span> <span class="nn">sys</span>


<div class="viewcode-block" id="group_to_events"><a class="viewcode-back" href="../../../api/cityiq.cli.html#cityiq.cli.util.group_to_events">[docs]</a><span class="k">def</span> <span class="nf">group_to_events</span><span class="p">(</span><span class="n">gro