<p dir="auto">Unlike Python2, Python3's (builtin) round function is documented to return an integer when called with a single argument.  However, numpy float dtypes do not satisfy this, returning a float instead.</p>
<p dir="auto"><code class="notranslate">round(x)</code> (i.e. <code class="notranslate">object.__round__(self)</code>) is expected to return an <code class="notranslate">int</code>, but for numpy floats, it returns a numpy float.</p>