code: def testNdarrayToEntry(self):
      arr = np.array([1.0, 2.0, None, float("nan"), 3.0], dtype=float)
  
      entry = self.gfsg.NdarrayToEntry(arr)
      self.assertEqual(2, entry["missing"])
  
      arr = np.array(["a", "b", float("nan"), "c"], dtype=str)
      entry = self.gfsg.NdarrayToEntry(arr)
      self.assertEqual(1, entry["missing"])
  
file_path: facets/facets_overview/facets_overview/generic_feature_statistics_generator_test.py
imports: from facets_overview.generic_feature_statistics_generator import GenericFeatureStatisticsGenerator
  import numpy
  import pandas
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the GenericFeatureStatisticsGeneratorTest obj's underlying member method code with example usage: obj.testNdarrayToEntry() without return types