I am very new to multithreading to Python and any other language, and I am trying to use multithreading to improve the speed of my program.
Basically, I have many large dataset, and my memory can only fit in 2 of them at the same time, so the solution I have in mind is to read a single dataset first, then load the second dataset while processing the first dataset using multithreading. In this way, I can save the time of waiting for the second dataset to get loaded. Does it work?