np.int, np.float, etc have been deprecated in newer versions of numpy. There is an open pull request to rectify this