Adding calculated column(s) to a dataframe in pandas,d['A'][:-1] < d['C'][1:]