pypif.stats.common.field_stats module¶
-
class
pypif.stats.common.field_stats.FieldStats(count=None, numeric_count=None, min=None, max=None, terms=None)¶ Bases:
pypif.stats.common.stats_wrapper.StatsClass to store stats for a single field.
-
__init__(count=None, numeric_count=None, min=None, max=None, terms=None)¶ Constructor.
Parameters: - count – Total count for this field.
- numeric_count – Number of numeric values for this field.
- min – Minimum of the numeric values for this field.
- max – Maximum of the numeric values for this field.
- terms – List of dictionaries or
TermAndCountobjects with stats about terms.
-
-
class
pypif.stats.common.field_stats.TermAndCount(count=None, term=None)¶ Bases:
pypif.stats.common.stats_wrapper.StatsClass to store information about a single term.
-
__init__(count=None, term=None)¶ Information about a single term and its count.
Parameters: - count – Total count for this term.
- term – String with the term to save.
-