modelhub.Map.pre_conversion_hit_number

pre_conversion_hit_number

(data, name, partition='session_id')

[source]

Returns a count backwards from the first conversion, given the partition. I.e. first hit before converting is 1, second hit before converting 2, etc. Returns None if there are no conversions in the partition or after the first conversion.

Parameters

Returns

bach.SeriesInt64 with the same index as data.

Return type

bach.series.series_numeric.SeriesInt64