dotnet-interactive-extension-lab icon indicating copy to clipboard operation
dotnet-interactive-extension-lab copied to clipboard

SandDance visual is just a white background after converting a DataFrame to TabularDataResource

Open IntegerMan opened this issue 1 year ago • 0 comments

I'm using F# and a ML .NET DataFrame loaded from a CSV file. I then nuget Install SandDatnce.InteractiveExteision,1.0.138 and DataView.InteractiveExtension,1.0.138 and open SandDance.InteractiveExtension, Microsoft.ML, and System.

I then take my DataFrame called df and do the following:

let dataResource = df.ToTabularDataResource()
dataResource

This displays the data in my dataframe below the Polyglot Notebooks F# cell as a tabular data resource. It all appears valid

In the following cell I declare and use a SandDanceDataExploerer as follows:

let explorer = new SandDanceDataExplorer(dataResource)
explorer

What I see is just a white box representing where SandDance should integrate, but is not: image

This happens if I do explorer.Display() or use the dataResource.ExploreWithSandDance().Display() syntax as well.

I am on Ubuntu 22.06 but can attempt to replicate this using Windows if it is helpful.

My full code and CSV data file is available at https://github.com/PacktPublishing/Data-Science-in-.NET-with-Polyglot-Notebooks/tree/main/Chapter%205 in the Chapter5.dib notebook.

IntegerMan avatar Apr 13 '24 22:04 IntegerMan