modelhub.Map.conversions_counter

conversions_counter

(data, name, partition='session_id')

[source]

Counts the total number of conversions given a partition (ie session_id or user_id).

Parameters

  • name (str) – the name of the conversion to label as set in ModelHub.conversion_events.
  • partition (str) – the partition over which the number of conversions are counted. Can be any column of the ObjectivFrame

Returns

bach.SeriesBoolean with the same index as data.

Return type

bach.series.series_numeric.SeriesInt64