pydeck binary transfer data prep #5828
Answered
by
ajduberstein
cornhundred
asked this question in
Q&A
-
Hi, is there a faster way to prepare data for binary data transfer than using apply (see below code from docs)?
It can take ~5min on a dataset with ~millions of rows. |
Beta Was this translation helpful? Give feedback.
Answered by
ajduberstein
Jun 2, 2021
Replies: 1 comment 1 reply
-
Can you try:
You can get a sense of what pydeck is doing by looking at how deck.gl handles binary attributes. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cornhundred
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you try:
nodes['position'] = nodes[['x', 'y', 'z']].values.tolist()
.apply
will be slower. It shouldn't be the recommended path in the docs.You can get a sense of what pydeck is doing by looking at how deck.gl handles binary attributes.