code: def test_row_or_col_zero(self, table):
      result = odds_ratio(table)
      assert_equal(result.statistic, np.nan)
      ci = result.confidence_interval()
      assert_equal((ci.low, ci.high), (0, np.inf))
  
file_path: scipy/scipy/stats/tests/test_odds_ratio.py
imports: import pytest
  import numpy
  from numpy.testing import assert_equal, assert_allclose
  from .._discrete_distns import nchypergeom_fisher, hypergeom
  from scipy.stats._odds_ratio import odds_ratio
  from .data.fisher_exact_results_from_r import data
label_desc: Use image node_id 2 for calling the TestOddsRatio obj's underlying member method code with example usage: obj.test_row_or_col_zero(table) without return types