[](https://wesmckinney.com/blog/high-perf-arrow-to-pandas/#cb3-1)>>> df = pd.DataFrame(data) [](https://wesmckinney.com/blog/high-perf-arrow-to-pandas/#cb3-2)>>> df.values[::5] = np.nan