Python, numpy and reshape to give a new dimension to the data How to shape arrays with different rows and columns.