importmodin.pandasaspdimportswifter NOTE: if you import swifter before modin, you will have to additionally register modin:swifter.register_modin() Easy to use df=pd.DataFrame({'x': [1,2,3,4],'y': [5,6,7,8]})# runs on single coredf['x2']=df['x'].apply(lambdax:x**2)# ru...
importmodin.pandasaspdimportswifter NOTE: if you import swifter before modin, you will have to additionally register modin:swifter.register_modin() Easy to use df=pd.DataFrame({'x': [1,2,3,4],'y': [5,6,7,8]})# runs on single coredf['x2']=df['x'].apply(lambdax:x**2)# ru...