Creating a DataFrame using NumPy function results