import pyodbc
import pandas as pd
cnxn = pyodbc.connect(databasez)
DF = pd.read_sql_query(
    'SELECT ID, NAME AS Nickname, ADDRESS AS Residence FROM tablez', cnxn)
return column names from pyodbc execute() statement