Create Structured Array Numpy Python Codes