get last column value in excel in python pandas code example Example: get last column pandas df.iloc[:,-1:]