DOC: Replace .values with .to_numpy() in enhancingperf
As suggested in https://github.com/pandas-dev/pandas/issues/24807#issuecomment-454905470

Replace `.values` with `.to_numpy()` in the benchmark demonstration code.