ZK Zhao
ZK Zhao

Reputation: 21533

Jupyter Notebook: Equivalent to Matlab's Workspace?

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:

enter image description here

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

Answers (2)

Jarno
Jarno

Reputation: 7232

For JupyterLab I can recommend the JupyterLab VariableInspector extension. It is very similar to matlab and allows to inspect values inside arrays.

enter image description here

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

Franck Dernoncourt
Franck Dernoncourt

Reputation: 83187

You can use the Jupyter contrib extension Variable Inspector:

enter image description here

Upvotes: 1

Related Questions