My excel sheet contains one column whose header name can be two namely 'CITY' or 'CTY'. How to select the column in dataframe using pandas. OR operator is not working.
import pandas as pd
data = pd.read_excel(data.xlsx,index_col=None)
required_data=[]
required_data=data[['CITY' or 'CTY']]