Skip to content

Instantly share code, notes, and snippets.

@h3ik0th
Created October 6, 2022 15:27
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/9c27d024c014240058fdb4fb110cf119 to your computer and use it in GitHub Desktop.
Save h3ik0th/9c27d024c014240058fdb4fb110cf119 to your computer and use it in GitHub Desktop.
%%time
# apply, large dataframe
dfY = pd.DataFrame()
dfY[["x", "y", "z"]] = dfL.apply(lambda x: myfunc4(x["B"], x["C"]), axis=1, result_type="expand")
display(dfY.tail())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment