modelhub.Map.conversions_in_time
conversions_in_time
(data, name, partition='session_id')Counts the number of time a user is converted at a moment in time given a partition (ie ‘session_id’ or ‘user_id’).
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
.partition
(str) – the partition over which the number of conversions are counted. Can be any column indata
.
Returns
bach.SeriesInt64
with the same index as data
.