Afternoon Team,
Hope all is well.
So i have read nearly every post on the alteryx community regarding formatting a phone number into the International format
As posted here https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/International-Phone-number-for...)
After extensive research it looks like there Google's open-source Library called libphonenumber and there is an Python and R version available.
Python Link : https://github.com/daviddrysdale/python-phonenumbers
Using the UI version https://libphonenumber.appspot.com/ when you pass a number along with a country code, it formats the number into international standards ( if the number is not already in the correct format)
I would like to leverage what's already out there and incorporate this into my business process
I have zero knowledge on python and how it integrates with alteryx, and hoping you can guide me on getting this set up appropriately or point me in the right direction
I have the following three inputs ;
ID | Country | Phone |
0013a00001vb6MFAAY | GB | 447967925111 |
i have added my python tool and have the following set up
When i run i can see that i am retuning a value.
Where i am struggling is whats next ?
Looking forward to your help
Regards
Masond3
to install the library you remove the comment and put the name of the library and run the notebook
to use the library just give the import
@geraldo Let me give that ago.
once it’s imported where do you set the country and phone field ?