For data scientists moving their workflows from their desktop computer to the cloud, one of the hardest parts of “letting go” is the lack of an IDE. More specifically, one of the most requested features is a variable explorer like in Spyder.
Over the weekend I decided to take a stab into Jupyterlab extensions working off some of the initial work here: https://github.com/lckr/jupyterlab-variableInspector
Lessons learnt and additions made:
- Dealing with changing kernels and languages
- Improvements for Numpy and DataFrame
- Ability to interact with Tensorflow and Spark items
Changing kernels:
Launching and Peaking into a Pandas dataframe:
Peeking into a Spark DataFrame - this runs a <spark_dataframe>.limit(<max_row limit>).toPandas()
to display into phosphorus datagrid
.
Peeking into a Tensorflow Variable (from Keras).
I believe all of these will speed up analytics workflows and make it easier for analysts to use these various frameworks. This addresses the following:
- Data scientists no longer have to keep typing
.show()
ortoPandas()
to get results that are sensible - When dealing with Keras models over Tensorflow, it becomes easier to inspect the nature of the intermediate layers