Thank you for your reply. I did already track the data loading time with time.time(), which already gave me the idea that this was indeed the problem. I will try to give some ideas on the purposed post a try.