I have not used used numpy vectorization before. Here is a small example I am working.
import numpy as np import pandas as pd def my_func(x, y): return x+y