swifter
A package which efficiently applies any function to a pandas dataframe or series in the fastest available manner.
https://github.com/jmcarpenter2/swifter
Tips
Don’t use Apply in Python, there are better alternatives! | by Anmol Tomar | Jul, 2022 | Towards Data Science