I am trying to extract numbers only from a pandas column
I used .str.extract('([?:\s\d+]+)')
and it seems it worked well, but when I checked the data, there is a row that it is not matching the condition.
Row contains: 86531 86530 86529PIP 91897PIP
Result: 86531 86530 86529
As you can see last value 91897PIP
has not been processed. I do not understand why.
What I need is that all the instances where there are numbers are extracted no matter if it has letter, spaces or special char at the beginning or end.