我正在运行下面的简单代码,它接受一个SQL查询并写入csv文件。我收到了'NoneType‘对象is not iterable error,我在其他帖子中看到了这个错误,但还没有回答我的问题。我的问题是,这可能是由于我的SQL列类型造成的吗?如果是这样,我如何找出我的SQL列类型并更改类型?import <
我正在尝试将数据帧保存到使用Windows身份验证的MS SQL。我尝试过使用engine、engine.connect()、engine.raw_connection(),它们都抛出了错误:分别是'Engine' object has no attribute 'cursor'、'Connection' object has no attribute 'cursor'和Execution failed on