shift() is a pandas.DataFrame method that allows you to shift
a line of value by a given number called period.
You can shift along rows, setting axis = 0, or along columns
setting axis = 1. For its complete usage, check the source link.
x = 32
print(x<<1) #64
print(x>>1) #16