I'm trying to obtain all phone numbers from a column into a separate column.Multiple phone numbers should be comma separated. Code I'm using is attached. When I add .str.join(','), the result is coming as Blank. Without it, I get data in a list format.
phone_regex=[r'(\D\(\d{3}\).\d{3}.\d{4})',r'(\D\(\d{3}\)\d{3}.\d{4})']
sep_pattern = r"|".join(phone_regex)
df['Phone'] = df['Location'].str.findall(sep_pattern).str.join(',')
Eg: 2434 abc eerq
pretoria, yosoi 61611
(309) 839-1330 & (234)232-1377
Expected output -> Phone column : (309) 839-1330,(234)232-1377