modelhub.Map.is_conversion_event
is_conversion_event
(data, name)Labels a hit True if it is a conversion event, all other hits are labeled False.
Parameters
data
(bach.dataframe.DataFrame) –bach.DataFrame
to apply the method on.name
(str) – the name of the conversion to label as set inModelHub.conversion_events
.
Returns
bach.SeriesBoolean
with the same index as data
.