📜  data[:,:2] - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:18.302000             🧑  作者: Mango

代码示例1
X = dataset[:,0:3] is interpreted as "All rows for columns 0 through 3" and y = dataset[:,4] is interpreted as "all rows for column 4".