这是查询数据库的python代码
cursor.execute("""select count(distinct offering_name) as events
,count(learner) as learners
,count(distinct learner) as unique_learner
,count(dropped) as dropped
,sum(trans_price) as trans_price
from EMS_data where organization like 'eng%' and manager ='rakesh'""")
对于光标中的结果:打印结果
结果将是这样的,“L”是什么意思
(367L、7200L、4543L、7200L、3216157.0)
但我想喜欢这个
| 活动 | 学习者 | 独特的学习者 | 下降 | trans_price |
| 378 | 8092 | 5204 | 8092 | 3197704.0799999996 |
怎么可以这样...请帮助