In [1]:
import numpy as np
In [2]:
print(np.inf)
In [3]:
print(type(np.inf))
In [4]:
print(float('inf') == np.inf)