how to get all column names in pandas code example
Example 1: see all columns pandas
pd.set_option('max_columns', None)
Example 2: print columns pandas
df = pd.DataFrame(exam_data , index=labels)
# print the columns labeled "name" and "score"
print(df[['name', 'score']])