I want to convert all of the numbers in my list to float.

Every number contains 2 or 3 decimal places.

In some cases, I may have US number strings, such as:

```
"0.00", "0.000", "874.80", "10.000", "1,234.56"

```

In other cases, I may have European format, like the following:

```
"29.461,24", "20.919,000", "0,00", "0,000", "372,13", "11,000"

```

I want to identify which one is which and format it correctly to be cast to float. Such as the US numbers becoming.

```
"0.00", "0.000", "874.80", "10.000", "1234.56"

```

and the EU numbers becoming

```
"29461.24", "20919.000", "0.00", "0.000", "372.13", "11.000"

```

How can I do this in Python?

I know that 

```
sub(r'[\.|]', '', sub(r',', '.', i))

```

Converts from E to a ready to cast format, but it will break US numbers.