t sql table column names code example Example: Returns all column names as a list # Returns all column names as a list df.columns #['age', 'name']