# numpy reshaping

## To reshape

In this case we have a list of strings

import numpy as np a="this is a test to see if I can reformat the line".replace(' ','\t') a=a.split('\t') np.reshape(np.array(a),(-1,3))

### Note

(-1,3) means ... I do not know how many rows, I just want 3 columns