Created
October 6, 2022 15:17
-
-
Save h3ik0th/2a7e27b28f3a549dcd7b487f2a647069 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 | |
# convert df to dictionary before iterating | |
dictS = dfS.to_dict(orient="records") | |
for row in dictS: | |
res = myfunc2a(row) | |
dfY = pd.DataFrame.from_dict(dictY).T | |
dfY.columns = ["x", "y", "z"] | |
display(dfY.tail()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment