mercredi 22 juillet 2020

Python (pandas): Find pattern in numbers

I have a few csv-files with large numbers (up to 512bit) in it. I would like to write a program that searches the numbers for repeating digit patterns. So the output of the program is supposed to tell me that there are 100 numbers with "123" in the last position. But there can also be pattern in the middle of the number.

As I'm quite new to Python I was wondering if the pandas library is the right tool for me or maybe there is something better.

I'm thankful for every suggestion!!

Aucun commentaire:

Enregistrer un commentaire