Skip to content

Instantly share code, notes, and snippets.

@tfolkman
Created November 2, 2019 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tfolkman/bd961106e9b44727907dc8d30f6839c4 to your computer and use it in GitHub Desktop.
Save tfolkman/bd961106e9b44727907dc8d30f6839c4 to your computer and use it in GitHub Desktop.
swifter
import pandas as pd
import swifter
df.swifter.apply(lambda x: x.sum() - x.min())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment