</span>
<span class="sd">    &gt;&gt;&gt; vals1 = np.arange(0.,10.,dtype=&#39;d&#39;)</span>
<span class="sd">    &gt;&gt;&gt; vals2 =  np.arange(0.,10.,dtype=&#39;d&#39;)</span>
<span class="sd">    &gt;&gt;&gt; vals0[0:3] = np.nan</span>
<span class="sd">    &gt;&gt;&gt; vals0[7:-1] = np.nan</span>
<span class="sd">    &gt;&gt;&gt; vals1[2:4] = np.nan&gt;&gt;&gt;</span>
<span class="sd">    &gt;&gt;&gt; vals1[6] = np.nan</span>
<span class="sd">    &gt;&gt;&gt; vals1[9] = np.nan</span>

<span class="sd"> 