我有一个dataframe
with 字段list()
,但有时它有空值,我replace(is.null(.), 0)
在查询中尝试过,但什么也没发生。
我想要 :
- 将火车替换为
list(date=exactly date in the rows, sales=0)
- 显示 train.sales
这是我的数据框: https ://pasteboard.co/IsclvYT.png
数据框内的内容: https ://pasteboard.co/IscmiwV.png
谢谢...