Created
October 6, 2022 15:19
-
-
Save h3ik0th/fc101bf78d0463bed4654bc559a856a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%time | |
# apply row-wise: iteration crime | |
def myfunc3(row): | |
return pd.Series(myfunc2(row)) | |
dfY = pd.DataFrame() | |
dfY[["x", "y", "z"]] = dfS.apply(myfunc3, axis=1) | |
display(dfY.tail()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment