d.any(axis=1) returns T if any of the val in row are T d.all(axis=1) returns T only if all vals in row are T