def column_names_from_cursor(cur):
    """returns column names as a list when provided cx_Oracle Cursor"""

    column_names = []
    for column_info in cur.description:
        column_names.append(column_info[0])
    return column_names