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