Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CP-3513] feat: lazy import pandas #417

Merged
merged 2 commits into from
Nov 27, 2024
Merged

[CP-3513] feat: lazy import pandas #417

merged 2 commits into from
Nov 27, 2024

Conversation

rikbw
Copy link
Contributor

@rikbw rikbw commented Nov 27, 2024

Importing pandas is relatively slow and a major part of the work of importing pythonwhat inside pyodide.

When we start using this in regular sessions, this could make the sessions a tiny bit slower. To prevent that, we can start adding a special block that just runs import pandas as pd but only for regular sessions.

@rikbw rikbw changed the title feat: lazy import pandas [CP-3513] feat: lazy import pandas Nov 27, 2024
@rikbw rikbw merged commit 73efcb4 into master Nov 27, 2024
1 check passed
@rikbw rikbw mentioned this pull request Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants