</span><span id="1-3"><span class="n">window</span> <span class="o">=</span> <span class="mi">3</span>
</span><span id="1-4"><span class="n">ema_result</span> <span class="o">=</span> <span class="n">ema_numpy</span><span class="p">(</span><span class="n">arr</span><span class="p">,</span> <span class="n">window</span><span class="p">)</span>
</span><span id="1-5"><span class="nb">print</span><span class="p">(</span><span class="n">ema_result</span><span class="p">)</span>
</span><span id="1-6">
</span><spa