Not select the last column in Dataframe Pandas code example Example: get last column pandas df.iloc[:,-1:]