Reputation: 21533
Is there any Matlab workspace equivalent in Jupyter Notebook that I can directly check for the variables that I'm using? And I can easily copy them out for some other use?
In matlab, the workspace look like this:
Or, if there is none, is there any related resources that I can read, so I can make one on my own?
The question is not duplicated, this is some progress I find so far
A variable explorer: https://github.com/jupyter/notebook/issues/1516
Upvotes: 5
Views: 5343
Reputation: 7232
For JupyterLab I can recommend the JupyterLab VariableInspector extension. It is very similar to matlab and allows to inspect values inside arrays.
Note that you need to have both numpy
and pandas
installed for the array value inspection to work.
You should be very careful though when using this extension. Jupyter will become unresponsive if you have to much data in your variables. See for example https://github.com/lckr/jupyterlab-variableInspector/issues/122.
Upvotes: 3
Reputation: 83187
You can use the Jupyter contrib extension Variable Inspector:
Upvotes: 1