我正在尝试从input file运行sql query 文件中的sql query被提供给名为myquery的variable myquery='select * from table where transaction_IDtransaction_ID: \n") 我正在阅读下面的output of the query to pandas dataframe, 我试图像这样传递这个值,但它给了我一个错误: outdata=pd.read_sql_q
我想使用read_sql_table()使用SQLAlchemy和Pandas将表从Posgresql数据库读取到Pandas数据帧中。对数据库的SQL查询类似于: SELECT col1,col2 FROM my_table WHERE col1=='value' 我尝试使用以下代码从表中获取Pandas数据帧: from sqlalchemydb_uri = environ.get('SQLALCHE