./ Alex Tech Blog / Leveraging Swifter for Pandas Lambda function

Leveraging Swifter for Pandas Lambda function

python pandas

Leveraging Swifter for Pandas Lambda function:

import swifter

df['new_column'] = df.swifter.progress_bar(True).apply(lambda x: some_function(x['existing_column']),axis=1)