行等于下面。PIC_loc = 23; 我想要 42 和 42 之后的 15 位。输出应该是 42011721930018984
PIC_1 p_lgth Wgt
**PARTIAL-DECODE***P / 42011721930018984390078... 53 112
Output = row['PIC_1'][PIC_loc:PIC_loc+15]
上面的代码给出了这个错误信息
TypeError: cannot do slice indexing on
class 'pandas.core.indexes.range.RangeIndex'> with these indexers [2 23
Name: PIC_1, dtype: int64] of <class 'pandas.core.series.Series'>