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

on_import add explicit import statement to first Jupyter cell #11

Closed
FlorianWetschoreck opened this issue Aug 17, 2019 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@FlorianWetschoreck
Copy link
Collaborator

In order to remove the possibility that we can forget to copy the explicit import statements to the top of the notebook, it would be great if the explicit import statement (e.g. "import pandas as pd") is added to the first Jupyter cell on_import.

Implementation thoughts:

  • in Jupyter Notebook we can simply display() a Javascript snippet which does this action once on_import
  • for Jupyter Lab we need to write a custom extension which is triggered on_import
@FlorianWetschoreck FlorianWetschoreck added the enhancement New feature or request label Aug 17, 2019
@8080labs
Copy link
Owner

Closed with the new version 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants