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" />
<PackageReference Include="ATK.Collection.Converter" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=ATK.Collection.Converter&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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>toDataFrameorDataTable - Converts
DataFrameto other collection types - Converts
DataTabletoDataFrameorList<T> - Converts
TabularDataResourcetoDataFrame - Export
DataTableandDataSetto 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
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 | Versions 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.
-
net10.0
- DocumentFormat.OpenXml (>= 3.5.1)
- Microsoft.Data.Analysis (>= 0.23.0)
- SandDance.InteractiveExtension (>= 1.0.142)
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 |