The pandas.DataFrame.columns property return the column labels of the DataFrame.
Example:
Python
mydata=pd.read_csv("employees.csv") mydata.columns
The output of the above code is shown below: