Azuredatastudio: Using ipywidgets

Created on 15 Jul 2019  路  4Comments  路  Source: microsoft/azuredatastudio

Is it possible to use ipywidgets inside Azure Data Studio? I was using an existing Python installation that already had widgets enabled, but when I tried running notebooks with widgets, instead of the widgets being rendered, I got output similar to this:

Text(value='foo')

This usually happens in regular Jupyter if this command has not been run

jupyter nbextension enable --py widgetsnbextension

Is this a bug or are nbextensions unsupported in Azure Data Studio?

Area - Notebooks Enhancement Done

Most helpful comment

We're looking into adding ipywidgets support into Azure Data Studio, but don't have support as of yet unfortunately. It is on our list of experiences to support in the future.

We'd love to hear how you use ipywidgets to get an idea of how we can prioritize this work.

All 4 comments

... or am I, perhaps, missing a step in the set-up?

We're looking into adding ipywidgets support into Azure Data Studio, but don't have support as of yet unfortunately. It is on our list of experiences to support in the future.

We'd love to hear how you use ipywidgets to get an idea of how we can prioritize this work.

I frequently use notebooks for ad hoc report generation where the widgets are used to specify, say, a date range. This is also useful for exploratory data analysis.

Also, I feel Azure Data Studio could replace JupyterLab and be a more natural fit for me at work given I'm working on the Microsoft stack, and I use many other MS development tools (e.g. Visual Studio, Visual Studio Code, SQL Server Management Studio). I'm moving away from the latter now that Azure Data Studio has more functionality.

Other use cases:

  • Interactive charts and visualizations
  • Experimentation for machine learning (e.g. browsing through a data set and testing my model's predictions)
  • Various ad hoc tools for specific use cases (e.g. browsing through an application's communication logs, which are stored in file system files with each payload recorded as a file)

Would be very useful too for compatibility with more notebook widgets. For example, qgrid requires enabled the ipywidgets and nbextension. This widget is very useful to render DataFrames from the pandas library.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blackTay picture blackTay  路  3Comments

stevenreddie picture stevenreddie  路  3Comments

jacobzed picture jacobzed  路  3Comments

Ungerfall picture Ungerfall  路  3Comments

sandermvanvliet picture sandermvanvliet  路  3Comments