Nov 3 · 1 min read
Your code as it appears in Medium does NOT work!
Why do you bother publishing?
import pandas as pd
import swifter
df.swifter.apply(lambda x: x.sum() — x.min())
NameError Traceback (most recent call last) <ipython-input-9–636b1766b2ab> in <module> 2 import swifter 3 — → 4 df.swifter.apply(lambda x: x.sum() — x.min())
NameError: name ‘df’ is not defined
