public static NteractDataExplorer ExploreWithNteract(this TabularDataResource source) { var explorer = new NteractDataExplorer(source); KernelInvocationContext.Current?.Display(explorer, HtmlFormatter.MimeType); return(explorer); }
public static TabularDataResourceJsonString Create(IReadOnlyDictionary <string, Type> fields, IEnumerable data) { var schema = new TableSchema(); foreach (var entry in fields) { schema.Fields.Add(new TableSchemaFieldDescriptor(entry.Key, entry.Value.ToTableSchemaFieldType())); } var tabularDataSet = new TabularDataResource(schema, data); return(tabularDataSet.ToJson()); }
public static NteractDataExplorer ExploreWithNteract(this TabularDataResource source) { var explorer = new NteractDataExplorer(source); return(explorer); }
public static SandDanceDataExplorer ExploreWithSandDance(this TabularDataResource source) { var explorer = new SandDanceDataExplorer(source); return(explorer); }