difference between np.inf and float('Inf') : <p>Is there some difference between NumPy <code>np.inf</code> and <code>float('Inf')</code>?
<code>float('Inf') == np.inf</code> returns <code>True</code>, so it seems they are interchangeable, thus I was wondering why NumPy has defined its own "inf" constant, and when should I use one constant instead of the other (considering style concerns too)?</p>
