hashtable.pyx like pandas for easier comparison