I have below following 3 numpy arrays in the python file:
array([[ 1, 1, 14, 1, 15],
[ 2, 1, 14, 1, 13],
[ 3, 1, 15, 1, 13]])
array([[ 1, 1, 1, 13],
[ 2, 1, 1, 14],
[ 3, 1, 1, 15]])
array([[ 10, 2, 4, 17],
[ 11, 3, 6, 20],
[ 12, 4, 6, 21]])
I am trying to output the text file with spaces and words in between them. So my output would look like this:
ListA
1 1 14 1 15
2 1 14 1 13
3 1 15 1 13
ListB
1 1 1 13
2 1 1 14
3 1 1 15
ListC
10 2 4 17
11 3 6 20
12 4 6 21
There are arrays of thousand rows long, so it has to be scalable. Right now, I am using NumPy to save my text command and manually adding the space and headers in between my arrays.