speed up loading
speed up loading

Significantly speeds up loading by using pandas.read_csv instead of numpy.loadtxt. The former is much faster than the latter but has a larger memory footprint. Automatically falls back to loadtxt if pandas is not available.

Note that read_csv and loadtxt result in slightly different float values. I.e., comparing the resulting arrays using numpy.array_equals returns False but using numpy.allclose returns True. See https://stackoverflow.com/questions/38445966/numpys-loadtxt-and-pandas-read-csv-result-in-different-float64-representation

seomoz/word2gauss,seomoz/word2gauss