【发布时间】:2017-06-18 18:54:11
【问题描述】:
是否可以在sqldf中的字符串内添加cmets?
类似:
sqldf('select ProductID,
count(distinct SalePrice) as num_regPz
from MYDF
where SalesFlag=0 # coded value to identify regular prizes
group by ProductID')
此处“# 用于标识常规奖品的编码值”表示注释,而不是 select 语句的一部分。
【问题讨论】: