You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
atsyplenkov commentedon Sep 9, 2025
Sorry for the long reply! Will work on it!
feat: skip library declaration (closes #18)
Add `pastum.libraryDeclaration` config option (#18)
atsyplenkov commentedon Sep 11, 2025
Hey @dofkee 👋
I apologise for the delay in implementing this feature. I have added the
pastum.libraryDeclarationconfiguration, which is enabled by default. By changing this setting, you can now preventimport pandas as pdand 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.