using ndarray, not series

Signed-off-by: Jan Zegan <jzegan@gmail.com>