df.query bug giving RuntimeWarning: divide by zero encountered in log10 in align.py", line 98, in _align_core     ordm = np.log10(abs(reindexer_size - term_axis_size)) 
Getting the following bug:

RuntimeWarning: divide by zero encountered in log10
C:\Users\Nick\Anaconda3\lib\site-packages\pandas\computation\align.py:98: 
  ordm = np.log10(abs(reindexer_size - term_axis_size))
while running query().

dtypes:

CGI            int64
SITEID         int32
LONGITUDE    float64
LATITUDE     float32
dtype: object
Query:

towerData = towerData.query('CGI != 0')

once you get this runtime warning it just halts everything  and you have to restart the program.

This bug happens only in multithreaded calls to query function. I am using the concurrent.futures module for the same.

runs fine for non threaded application
