我有 CSV,其中的文本数据类似于:
citrus fruit,semi-finished bread,margarine,ready soups
tropical fruit,yogurt,coffee
whole milk
pip fruit,yogurt,cream cheese ,meat spreads
other vegetables,whole milk,condensed milk,long life bakery product
whole milk,butter,yogurt,rice,abrasive cleaner
我想将其加载到稀疏交易表单中,最好的方法是什么?我希望能够在其上使用 arules 包