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());
        }
Esempio n. 3
0
        public static NteractDataExplorer ExploreWithNteract(this TabularDataResource source)
        {
            var explorer = new NteractDataExplorer(source);

            return(explorer);
        }
Esempio n. 4
0
        public static SandDanceDataExplorer ExploreWithSandDance(this TabularDataResource source)
        {
            var explorer = new SandDanceDataExplorer(source);

            return(explorer);
        }