code: def test_size_0_axis(self, axis, method, dtype):
      shape = (3, 0)
      data = np.zeros(shape)
      r = rankdata(data, method=method, axis=axis)
      assert_equal(r.shape, shape)
      assert_equal(r.dtype, dtype)
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/tests/test_rank.py
imports: import numpy
  from numpy.testing import assert_equal, assert_array_equal
  from scipy.stats import rankdata, tiecorrect
  import pytest
label_desc: Use image node_id 8 for calling the TestRankData obj's underlying member method code with example usage: obj.test_size_0_axis(axis, method, dtype) without return types