我不会使用我尝试使用的 graphlab 删除列
data.drop('X1','Unnamed:0',axis =1)
From the docs , use remove_column.
import graphlab
sf = graphlab.SFrame({'id': [1, 2, 3], 'val': ['A', 'B', 'C']})
sf.remove_column('val')
sf
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.