Sorry if this is some basic stuff, but I can't seem to find any information on this.
I'm wondering what the commas do in this situation?
f = loadtxt(filename)
return f[:,:4],f[:,4:]
It's code from Programming Computer Vision and it is throwing up errors.
IndexError: too many indices for array
When I remove the commas I get no errors but I think I am getting an incorrect result.