Shape Shifting Porn - Flywheelsites News
The shape attribute for numpy arrays returns the dimensions of the array. If y has n rows and m columns, then y. shape is (n,m). So y. shape[0] is n.
(r,) and (r,1) just add (useless) parentheses but still express respectively 1d and 2d array รขโฌยฆ