class_docstr: Computes meta-statistics for non-streaming partitioned statistics.
  
  This analyzer computes meta-statistics including the min, max, mean, median
  and std dev of numeric statistics that are calculated over partitions
  of the dataset. Statistics may be missing from some partitions if
  the partition contains invalid feature values causing PartitionedStatsFn to
  "gracefully fail". Meta-statistics for a feature are only calculated if the
  number of partitions in which the statistic is computed passes a configurable
  threshold.
class_docstr_tok: ["Computes","meta-statistics","for","non-streaming","partitioned","statistics",".","This","analyzer","computes","meta-statistics","including","the","min",",","max",",","mean",",","median","and","std","dev","of","numeric","statistics","that","are","calculated","over","partitions","of","the","dataset",".","Statistics","may","be","missing","from","some","partitions","if","the","partition","contains","invalid","feature","values","causing","PartitionedStatsFn","to","''","gracefully","fail","''",".","Meta-statistics","for","a","feature","are","only","calculated","if","the","number","of","partitions","in","which","the","statistic","is","computed","passes","a","configurable","threshold","."]
docstr: Initializes the analyzer.
docstr_tok: ["Initializes","the","analyzer","."]
code: def __init__(self, min_partitions_stat_presence: int):
      """Initializes the analyzer."""
  
      # Meta-stats are only computed if a stat is found in at least
      # min_partitions_stat_presence number of partitions.
      self._min_partitions_stat_presence = min_partitions_stat_presence
  
imports: import collections
  import functools
  from typing import Dict, Iterable, Text, Tuple
  import apache_beam
  import numpy
  import pyarrow
  from tensorflow_data_validation import constants
  from tensorflow_data_validation import types
  from tensorflow_data_validation.statistics.generators import stats_generator
  from tensorflow_data_validation.utils import stats_util
  from tfx_bsl.arrow import table_util
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 1 to create a new PartitionedStatisticsAnalyzer object from inherited base classes: beam with example: obj = PartitionedStatisticsAnalyzer(min_partitions_stat_presence)