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