get first col python code example Example: pd.dataframe initial columns import pandas as pd df = pd.DataFrame(columns = ['Name', 'Age'])