anchor.diff:  ===== {api-definitions-title}
   
   `aggregations` or `aggs`::
  -(object) Defines how to aggregate the grouped data. The following composite
  -aggregations are supported:
  +  (object) Defines how to aggregate the grouped data. The following composite
  +  aggregations are supported:
   +
   --
   * {ref}/search-aggregations-metrics-avg-aggregation.html[Average]
  
positive.code: * {ref}/search-aggregations-bucket-composite-aggregation.html#_date_histogram[Date Histogram]
  --
  
  [[data-frame-transform-example]]
  ==== {api-examples-title}
  
  
negative.code: --
  
  `group_by`::
    (object) Defines how to group the data. More than one grouping can be defined
    per pivot. The following groupings are supported:
  +
  --
  * {ref}/search-aggregations-bucket-composite-aggregation.html#_terms[Terms]
  