2016-10-03 131 views

回答

1

星火矩陣(和分佈式容器一般)不支持隨機訪問。有可能filter

mat.rows.filter(lambda row: row.index == 0).first().vector[1] 

但是這個操作在行數方面是線性的。