我的data frame 长这样,名字是df
0 = (_672:Devices {DeviceID: 'R - 11', Type: 'Robot', axes: 6, brand: 'Fanuc', capabilities: 'Moving', mass: 2800, model: 'M-900iB/700', name: 'Fanuc M-900iB/700', payload: 700, reach: 2832, repeatability: 0.3, type: '6 DOF'})
1 = (_674:Devices {DeviceID: 'R - 12', Type: 'Robot', axes: 6, brand: 'Fanuc', capabilities: 'Moving', mass: 9600, model: 'M-2000iA/900L', name: 'Fanuc M-2000iA/900L', payload: 900, reach: 4683, repeatability: 0.18, type: '6 DOF'})
2 = (_676:Devices {DeviceID: 'R - 13', Type: 'Robot', axes: 6, brand: 'Fanuc', capabilities: 'Moving', mass: 12500, model: 'M-2000iA/1700L', name: 'Fanuc M-2000iA/1700L', payload: 1700, reach: 4683, repeatability: 0.27, type: '6 DOF'})
如何df[0], df[1], df[2]里的值取出来,我想取这些值,分别单独拎出来
拆开
DeviceID: 'R - 11',
Type: 'Robot',
axes: 6,
brand: 'Fanuc',
capabilities: 'Moving',
mass: 2800, model: 'M-900iB/700',
name: 'Fanuc M-900iB/700',
payload: 700,
reach: 2832,
repeatability: 0.3,
type: '6 DOF'