modelhub.Map.is_new_user
is_new_user
(data, time_aggregation=None)Labels all hits True if the user is first seen in the period given time_aggregation
.
Parameters
data
(bach.dataframe.DataFrame) –bach.DataFrame
to apply the method on.time_aggregation
(str) – if None, it uses theModelHub.time_aggregation
set in ModelHub instance.
Returns
bach.SeriesBoolean
with the same index as data
.