Note: I found the answer and answered my own question, but I have to wait 2 days to accept my answer.
How do I initialize a numpy array of size 800 by 800 with other values besides zero? :
array = numpy.zeros((800, 800))
I am looking for a solution like this, where I could pass in a list (or lists) of values.
array = numpy.array([[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]])
Edit: I do not want to fill it with identical values.
I wanted a quick code example that demonstrates how this works without a long detailed example like I find in the other questions. I also want something simple to understand like converting a python array into a numpy array. I also am looking for the specific case of a 2D array.