class_docstr: A stats generator which counts the number of missing values in a path.
class_docstr_tok: ["A","stats","generator","which","counts","the","number","of","missing","values","in","a","path","."]
docstr: Initializes to count the number of null lists in a specific feature path.
  
  When required_paths is also passed, rows which are null for all of
  the required paths will not be counted as missing.
  
  Args:
    path: The path in which to count missing rows.
    required_paths: The set of paths among which at least one must be non-null
      in order for a null entry in the array for `path` to contribute to the
      missing count.
docstr_tok: ["Initializes","to","count","the","number","of","null","lists","in","a","specific","feature","path",".","When","required_paths","is","also","passed",",","rows","which","are","null","for","all","of","the","required","paths","will","not","be","counted","as","missing",".","Args",":","path",":","The","path","in","which","to","count","missing","rows",".","required_paths",":","The","set","of","paths","among","which","at","least","one","must","be","non-null","in","order","for","a","null","entry","in","the","array","for","`","path","`","to","contribute","to","the","missing","count","."]
code: def __init__(
      self,
      path: types.FeaturePath,
      required_paths: Optional[Iterable[types.FeaturePath]] = None,
  ):
      """Initializes to count the number of null lists in a specific feature path.
  
      When required_paths is also passed, rows which are null for all of
      the required paths will not be counted as missing.
  
      Args:
        path: The path in which to count missing rows.
        required_paths: The set of paths among which at least one must be non-null
          in order for a null entry in the array for `path` to contribute to the
          missing count.
      """
      self._path = path
      if required_paths:
          self._required_paths = tuple(sorted(required_paths))
      else:
          self._required_paths = None
  
file_path: data-validation/tensorflow_data_validation/statistics/generators/constituents/count_missing_generator.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from tensorflow_data_validation import types
  from tensorflow_data_validation.statistics.generators import input_batch
  from tensorflow_data_validation.statistics.generators import stats_generator
  from typing import Iterable, Optional, Text, Tuple, Union
label_desc: Use image node_id 1 to create a new CountMissingGenerator object from inherited base classes: stats_generator with example: obj = CountMissingGenerator(path, required_paths)