What meaning is '[: , None]'?
Robert
rxjwg98 at gmail.com
Sat Jan 2 07:44:10 EST 2016
More information about the Python-list mailing list
Sat Jan 2 07:44:10 EST 2016
- Previous message (by thread): Trailing zeros of 100!
- Next message (by thread): What meaning is '[: , None]'?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I read a code snippet, in which object w_A is: w_A Out[48]: array([ 0.10708809, 0.94933575, 0.8412686 , 0.03280939, 0.59985308]) Then, I don't know what is '[: ' below: vs_A = w_A[:, None] * xs I don't find the answer after searching around Could you explain above code to me? Thanks,
- Previous message (by thread): Trailing zeros of 100!
- Next message (by thread): What meaning is '[: , None]'?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list