jdwittenauer / ipython-notebooks

A collection of IPython notebooks covering various topics.
2.61k stars 1.51k forks source link

hash the data bytes to be compatible with python 3 #6

Closed yossiz74 closed 7 years ago

yossiz74 commented 7 years ago

Python 3's hash() function only accepts specific kinds of data, so converting the numpy array to bytes in order to hash it