Skip to content

Option to skip pandas import would be great #18

Closed

Description

@dofkee

After paste as default dataframe with pandas import pandas as pd automatically is added but this import is already defined ...thus each time need to be removed.

Activity

  1. atsyplenkov commented on Sep 9, 2025

    @atsyplenkov
    Owner

    Sorry for the long reply! Will work on it!

  2. self-assigned this
    on Sep 9, 2025
  3. added a commit that references this issue on Sep 11, 2025
    db8be62
  4. atsyplenkov commented on Sep 11, 2025

    @atsyplenkov
    Owner

    Hey @dofkee 👋

    I apologise for the delay in implementing this feature. I have added the pastum.libraryDeclaration configuration, which is enabled by default. By changing this setting, you can now prevent import pandas as pd and similar calls from being pasted.

    This update is not yet available on the VS Code Marketplace/Open VSX, but it will be published there soonish.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions