ATK.Collection.Converter 0.1.1

dotnet add package ATK.Collection.Converter --version 0.1.1
                    
NuGet\Install-Package ATK.Collection.Converter -Version 0.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ATK.Collection.Converter" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ATK.Collection.Converter" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="ATK.Collection.Converter" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ATK.Collection.Converter --version 0.1.1
                    
#r "nuget: ATK.Collection.Converter, 0.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ATK.Collection.Converter@0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ATK.Collection.Converter&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=ATK.Collection.Converter&version=0.1.1
                    
Install as a Cake Tool

Universal Converter

A .NET 10 library for seamless conversion between various collection types: List<T>, DataFrame, DataTable, and TabularDataResource. Export data to Excel with ease.

Features

  • Converts List<T> to DataFrame or DataTable
  • Converts DataFrame to other collection types
  • Converts DataTable to DataFrame or List<T>
  • Converts TabularDataResource to DataFrame
  • Export DataTable and DataSet to Excel files
  • Fluent API with extension methods
  • Built for polyglot notebooks and interactive environments

Installation

Install via NuGet:

Install-Package ATK.Collection.Converter

Or search for "ATK.Collection.Converter" in NuGet Package Manager.

Quick Start

using ATK.Collection.Converter;

// Convert List to DataFrame and DataTable
List<MyClass> myList = new();
var converters = myList.Convert();
var dataTable = converters.To.DataTable;
var dataFrame = converters.To.DataFrame;

// Convert DataTable to DataFrame
DataTable dt = new();
var result = dt.Convert().To.DataFrame;

// Convert TabularDataResource to DataFrame
TabularDataResource tdr = new();
var converted = tdr.Convert().To.DataFrame;

// Export to Excel
var creator = new ExcelDocumentCreator();
creator.Save(dataTable, "output.xlsx");

Supported Conversions

Source Target
List<T> DataFrame, DataTable
DataFrame Other collection types
DataTable DataFrame, List<T>, Excel
TabularDataResource DataFrame
DataSet Excel

Dependencies

  • DocumentFormat.OpenXml (v3.5.1)
  • Microsoft.Data.Analysis (v0.23.0)
  • SandDance.InteractiveExtension (v1.0.142)

Framework

  • .NET 10.0

Repository

https://github.com/a-t-k/

Use Cases

  • Polyglot notebooks data transformation
  • Converting between different data representations
  • Exporting tabular data to Excel
  • Working with ML.NET DataFrames
  • Interactive data analysis in .NET environments
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.1 92 4/24/2026