0
$\begingroup$

As best as I could find, this question was not asked before. I'm using colab, and I use its variable inspector. I'm trying to do the FastAI exercices, and I noticed that when doing them, the variable inspector stops showing variables. For instance - I open a new notebook and I start creating variables in cells. x=5, a=6 and so forth. These variables are shown in the inspector. But, once I run the line:

from fastbook import *

the variable inspector gets wiped clean, and stops showing variables, even when I create new variables.

I'd appreciate any help. Thank!

$\endgroup$

1 Answer 1

1
$\begingroup$

It was explained to me that the issue here is that when * is imported from fastbook, it floods the inspector with everything that is inside fastbook. The better way to import would be:

import fastbook as fb

I tested it and it actually works!

$\endgroup$

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.