Skip to content

Instantly share code, notes, and snippets.

Tejas Lodaya tejaslodaya

Block or report user

Report or block tejaslodaya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tejaslodaya /
Created Feb 3, 2017
pandas DataFrame apply multiprocessing
import multiprocessing
import pandas as pd
import numpy as np
def _apply_df(args):
df, func, num, kwargs = args
return num, df.apply(func, **kwargs)
def apply_by_multiprocessing(df,func,**kwargs):
You can’t perform that action at this time.