I have this dataframe
Col1 Col2
0 A (1000 EUR) C ( 3000 USD)
1 B (2000 CHF) D ( 4000 GBP)
I would like to convert it to
Col1 Col2
0 1000 3000
1 2000 4000
I know how to create a dataframe (with indexes) for 1 column, but not for multiple columns
This code produces this result
Col1
0 1000
1 2000
a = z['Col1'].str.split('(').str[-1].str.split().str[0].apply(pd.to_numeric,errors='coerce')
how can I amend the code above to also add col2 (ideally using vectorisation rather than iteration) (so ideally I wouln't want to have to enter the same code for every column)