Skip to content

Processing speed with large datasets #2362

Closed Answered by texodus
jmakov asked this question in Q&A
Discussion options

You must be logged in to vote

@jmakov The widget is unusable because you're using it incorrectly (and it prints an error to this effect PerspectiveError: Only 'Table' or data can be loaded, so I'm not sure why you're asking about it here):

# Don't pass a `View` here
perspective.PerspectiveWidget(table)

It's slow because you are doing processing gymnastics on it before loading it. Use an Apache Arrow if you want the fastest loading time possible, not a DataFrame:

After the table is loaded, the performance differences evaporate:

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@timkpaine
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by timkpaine
Comment options

You must be logged in to vote
1 reply
@timkpaine
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants