from excel I have a number in the following type: "22.024.833,02 ", so I've been trying .strip(), .replace() among others but I couldn't get a float from my code.
for columna, fila in mav.iterrows():
comitente = fila['Comit.']
moneda = fila['Especie']
m = fila['Operado'].strip()
m2 = m.replace('.', '')
monto = float(m2)
Result: monto = float(m2) ValueError: could not convert string to float: '22024833,02'