code: def testReplaceNoneC(self):
      arr = np.array([1.0, 2.0, np.nan])
      expected = np.array(
          [1.0, 2.0, 2 * 2.0 - 1.0 + mutual_information_util._NONE_NUM]
      )
      actual = mutual_information_util._replace_none_categorical(arr)
      self.assertTrue(np.array_equal(expected, actual))
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_data_validation.utils import mutual_information_util
label_desc: Use image node_id 17 for calling the RanklabMutualInformationTest obj's underlying member method code with example usage: obj.testReplaceNoneC() without return types