Skip to content

Commit

Permalink
deploy: 95ed452
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Dec 10, 2024
1 parent cbf7125 commit d8a00a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core_classes/artifacts/endpoint_core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5122,7 +5122,7 @@ <h2 id="sageworks.core.artifacts.endpoint_core.EndpointCore" class="doc doc-head
</span><span id="__span-0-477"><a id="__codelineno-0-477" name="__codelineno-0-477"></a> <span class="n">converted_df</span> <span class="o">=</span> <span class="n">converted_df</span><span class="o">.</span><span class="n">convert_dtypes</span><span class="p">()</span>
</span><span id="__span-0-478"><a id="__codelineno-0-478" name="__codelineno-0-478"></a>
</span><span id="__span-0-479"><a id="__codelineno-0-479" name="__codelineno-0-479"></a> <span class="c1"># Report on any rows that failed</span>
</span><span id="__span-0-480"><a id="__codelineno-0-480" name="__codelineno-0-480"></a> <span class="n">failed_rows</span> <span class="o">=</span> <span class="n">converted_df</span><span class="p">[</span><span class="n">converted_df</span><span class="o">.</span><span class="n">isna</span><span class="p">()</span><span class="o">.</span><span class="n">any</span><span class="p">(</span><span class="n">axis</span><span class="o">=</span><span class="mi">1</span><span class="p">)]</span>
</span><span id="__span-0-480"><a id="__codelineno-0-480" name="__codelineno-0-480"></a> <span class="n">failed_rows</span> <span class="o">=</span> <span class="n">converted_df</span><span class="p">[</span><span class="n">converted_df</span><span class="p">[</span><span class="s2">&quot;prediction&quot;</span><span class="p">]</span><span class="o">.</span><span class="n">isna</span><span class="p">()]</span>
</span><span id="__span-0-481"><a id="__codelineno-0-481" name="__codelineno-0-481"></a> <span class="k">if</span> <span class="ow">not</span> <span class="n">failed_rows</span><span class="o">.</span><span class="n">empty</span><span class="p">:</span>
</span><span id="__span-0-482"><a id="__codelineno-0-482" name="__codelineno-0-482"></a> <span class="bp">self</span><span class="o">.</span><span class="n">log</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Rows that failed:</span><span class="se">\n</span><span class="si">{</span><span class="n">failed_rows</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
</span><span id="__span-0-483"><a id="__codelineno-0-483" name="__codelineno-0-483"></a>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

0 comments on commit d8a00a0

Please sign in to comment.