0

Title is self-explanatory. How can I exclude the import of the datasets that come with ggplot when I do:

from ggplot import *

1 Answer 1

1

I didn't find a way to exclude the dataset while importing a module. But you can easily remove them by calling below one line command the delete the dataset after you import it. I use it as a workaround and it works pretty well.

from ggplot import *
del diamonds, chopsticks, meat, movies, mpg, mtcars, pageviews, pigeons, salmon

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.