Строка равна ниже.PIC_loc = 23;Я хочу 42 и 15 цифр после 42. Вывод должен быть 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'>