Skip to content

After mutiple attempt Pandas apply with swifter does not execute NLP function passed. #225

Open

Description

@prateek2512

I am a new user here. today to fast process my NLP preprocessing, I have used swifter with apply, so initially it worked as expected, and, I observed a little bit of speed improvement. On the contrary, because model accuracy was low, so i attempted this multiple time, than at sudden it became very quick, in progress bar i could see the speed , but on completion the input text returned in output, without any processing, it was very strange issue to me, tried restarting kernel, reloading data, and checked my code twice, but nothing worked. Finally, i executed pandas apply without swifter, and code executed successfully. I wondered when, i ran again apply+swifter ,it started working normally and data proceeded through code. this time swifter took longer time as before it was consuming.
Any suggestion on above issue. thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions