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

Persist the dataframes without extension #7

Open
kirangadhave opened this issue Mar 1, 2023 · 0 comments
Open

Persist the dataframes without extension #7

kirangadhave opened this issue Mar 1, 2023 · 0 comments
Assignees

Comments

@kirangadhave
Copy link
Member

kirangadhave commented Mar 1, 2023

If the IDE extension is not loaded, the df_.... (see #8) variables fail.

There is no recovery from this failure unless the IDE extension is loaded. We can generate a pandas code snippet that recreates the original variable.

How we show the snippet will matter a lot. The straightforward way is to copy the snippet as a Python comment similar to the dataframe access code, like in #8.

Another ideal solution would be to store the generated code with a different mime/type in the cell metadata and show it when the cell execution throws an error due to an undefined variable.

@kirangadhave kirangadhave self-assigned this Mar 2, 2023
@kirangadhave kirangadhave removed the code label Apr 11, 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

No branches or pull requests

1 participant