dates=pd.date_range(start='2023-01-01', periods=100, freq='D') users=['User'+str(i)foriinrange(1,21)] actions=['瀏覽','購買'] products=['產(chǎn)品A','產(chǎn)品B','產(chǎn)品C'] data={ '日期': np.random.choice(dates,100), '用戶': np.random.choice(users,100), ...
www.dbjr.com.cn/python/3343709...htm 2025-6-9