Closed louis-she closed 1 year ago
Interesting, it tests fine on our end. We will investigate into it in the next few days.
I changed the parallel_apply
to normal apply
and everything went well.
sounds good, it might be the issue in the new pandas version then... But the MIMIC-IV data is large and parallel_apply might be necessary to accelerate the process. I will dig into it.
which version of pandas do you use?
pandas==1.5.3 pandarallel==1.6.5
actually, I think it's an issue of pandarallel, I think we can close the issue here.
What version of pandarallel is needed?
The version in requires.txt file on the develop branch.
On Tue, Jun 20, 2023 at 8:27 AM Thinker Jiang @.***> wrote:
What version of pandarallel is needed?
— Reply to this email directly, view it on GitHub https://github.com/sunlabuiuc/PyHealth/issues/150#issuecomment-1598791578, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZB7IZXPQI6JRRG5C2LEBLXMGQLJANCNFSM6AAAAAAX2AHZUI . You are receiving this because you commented.Message ID: @.***>
@BPDanek , thanks, I have changed to the specific version of pandas and pandarallel. But the code is still in deadlock:
No results. Do you know how to fix this? Thanks for your help !
I have tested some basic code from the tutorial with the MIMIC-4 dataset. But the process hanged. I press ctrl-C to exit the program and it gives the following call stacks. Seems like
parallel_apply
get into a deadlock or something else when parsing prescriptions.reproducing code
Callstacks after ctrl-C