title: python scipy stats module: ValueError: 'axis' entry is out of bounds
body: <p>I'm using scipy's stats to calculate Fisher's Exact Test score..
  It works perfectly fine, except for some matrices, it returns valueError.
  For example,</p>
  
  <pre><code>odds, pvalue = stats.fisher_exact([[1,2],[9,84419233]])
  </code></pre>
  
  <p>returns</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/Library/Python/2.7/site-packages/scipy-0.14.0.dev_4938da3-py2.7-macosx-10.8-x86_64.egg/scipy/stats/stats.py", line 2606, in fisher_exact
      if float(np.abs(pexact - pmode)) / np.abs(np.max(pexact, pmode)) &lt;= 1 - epsilon:
    File "/Library/Python/2.7/site-packages/numpy-1.9.0.dev_fde3dee-py2.7-macosx-10.8-x86_64.egg/numpy/core/fromnumeric.py", line 2126, in amax
      return amax(axis=axis, out=out)
    File "/Library/Python/2.7/site-packages/numpy-1.9.0.dev_fde3dee-py2.7-macosx-10.8-x86_64.egg/numpy/core/_methods.py", line 17, in _amax
      out=out, keepdims=keepdims)
  ValueError: 'axis' entry is out of bounds
  </code></pre>
  
  <p>I have no idea why this shouldn't work..</p>
  
  <p>Could someone please help me out?</p>