Feb-05-2021, 08:32 PM
(Feb-05-2021, 08:08 PM)jakemace Wrote:(Feb-05-2021, 07:52 PM)Jeff900 Wrote: Have you considered using a module or something that is a little bit more focused on handling data structures? Such as pandas or something similar. I think it would be a lot easier to 'query' on your data based on specific conditions that way.
Ofcourse, it would be possible to write all the logic by yourself. But do you have a proper design to do so? I think you'll soon find out that it is more complex than it seems now.
[EDIT] It's also a good idea to share the code you already have.
Thanks for advice Jeff. I'm just a beginner and trying to use the fundamentals to figure out the solutions for problems like that. As you said, I lost my way between lots of lists and dictionariesI was about to share my code but I found out that my logic is completely wrong when it comes to matching players. Anyways, I'll try to do better according to advices you guys gave, thanks a lot.
If you ask me, it is always a good thing to keep close to the fundamentals! It makes you understand how things works much better. And besides, using modules like pandas gives alot of overhead. So using such modules is not necessarily the best idea.