how to print the last column using pandas code example Example: get last column pandas df.iloc[:,-1:]