from pandas import DataFrame
import pyodbc
cnxn = pyodbc.connect(databasez)
cursor.execute("""SELECT ID, NAME AS Nickname, ADDRESS AS Residence FROM tablez""")
DF = DataFrame(cursor.fetchall())
这很好填充我的熊猫数据框。但是我怎么得到
DF.columns = ['ID', 'Nickname', 'Residence']
直接从光标?该信息是否存储在游标中?