You can use Regex based solution:
df = pd.read_csv('input.csv',delimiter='|')
df['sum'] = df['PDCP.RxBytesUl'].str.extractall(':(d+(?:.d+)?)').astype('float').unstack().sum(axis=1)
df.drop('PDCP.RxBytesUl', axis=1, inplace=True)
df:
cel_id sum
0 1001-1234-1 0.0045
1 1001-1234-2 0.0163
2 1001-1234-4 0.0095
Better code Suggested by Shubham :)
df['sum'] = df['PDCP.RxBytesUl'].str.extractall(':([^;]+)').astype('float').sum(level=0)
df.drop('PDCP.RxBytesUl', axis=1, inplace=True)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…