[英]Iterate a function over individual rows until condition is met, then move on to the next row
我正在使用生命周期庫來構建客戶生命周期價值 model。 該庫附帶一個名為conditional_expected_number_of_purchases_up_to_time的方法,該方法允許您預測數據集中每個客戶在指定時間段內的購買情況。 這是我正在使用的 dataframe: datafra ...