joaopalotti / trectools

A simple toolkit to process TREC files in Python.
https://pypi.python.org/pypi/trectools
BSD 3-Clause "New" or "Revised" License
163 stars 32 forks source link

Using the aliases of builtin types like np.int is deprecated #23

Closed lironT74 closed 2 years ago

lironT74 commented 3 years ago

https://numpy.org/devdocs/release/1.20.0-notes.html

hscells commented 3 years ago

Do you know how easy of a fix this is? Do you think you would be able to send a pull request?

lironT74 commented 3 years ago

Hi, should be an easy fix - just change np.int to int. I belive that should work.