【发布时间】:2017-09-14 09:39:00
【问题描述】:
我尝试在我的 jupyter notbook 中测量查询速度
%time
a10= pd.read_sql('SELECT t.id, t.order_id FROM transactions.t', con=db_connection)
无论我的查询总是输出
Wall time: 0 ns
我假设%time与之前的单元格无关,这个单元格需要超过10s才能执行,为什么Wall time: 0 ns?
【问题讨论】:
标签: python ipython jupyter-notebook jupyter