Skip to content

Instantly share code, notes, and snippets.

@h3ik0th
Created October 6, 2022 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h3ik0th/2f3b4d5b5fb99c8f28f14fb2bbace011 to your computer and use it in GitHub Desktop.
Save h3ik0th/2f3b4d5b5fb99c8f28f14fb2bbace011 to your computer and use it in GitHub Desktop.
%%time
# apply - zip - large dataframe
dfY = pd.DataFrame()
dfY["x"], dfY["y"], dfY["z"] = zip(*dfL.apply(lambda x: myfunc4(x["B"], x["C"]), axis=1))
display(dfY.tail())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment