各位大大們好,
在網路上查到這篇在教CLV建模
https://www.twblogs.net/a/5c37876abd9eee35b3a59e44
不過在執行
data = summary_data_from_transaction_data(df, 'CustomerID', 'InvoiceDate',
monetary_value_col='Sales',
observation_period_end='2011-12-9')
跳出
TypeError: float() argument must be a string or a number, not 'Day'
我也嘗試更換檔案中日期型態(str、int),但一樣不行
想跟板上大大請教該怎麼處理,非常感謝!