pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', None)
# This will print all columns and rows
# 'display.max_colwidth', -1 will print entire row content
pd.set_option("display.max_rows", None, "display.max_columns", None,'display.max_colwidth', -1)
pd.options.display.max_columns = None
pd.options.display.max_rows = None
print(dataframe.columns)
import pandas as pd
df = pd.read_csv("file path.csv")
df.columns
list(my_dataframe)