Vector operations in pandas with datatime object not working