I have a column in a dataset df which contains strings like these
Webs
https://www.mhouse.com/107462464135489/posts/please-lets-be-guidedun-is-where-the-code/142970213918047/
https://www.msed.com/IKONINIBWANASEEDMARCH2020.html
https://www.msed.com/
https://carrice.com/jen/stat/1241025420562178050?lang=en
...
I would like to determine the count and the percentage of numbers within them; so, for instance
Count Percentage
15 (and the percentage compared to the length of the string)
4 ...
0 ...
19 ...
If I am not wrong I'd use a combination of is digit for determining the number of digits in the strings and len() for determining the length of the string, then the percentage.