MattEland.ML.DataFrames
0.0.4
See the version list below for details.
dotnet add package MattEland.ML.DataFrames --version 0.0.4
NuGet\Install-Package MattEland.ML.DataFrames -Version 0.0.4
<PackageReference Include="MattEland.ML.DataFrames" Version="0.0.4" />
paket add MattEland.ML.DataFrames --version 0.0.4
#r "nuget: MattEland.ML.DataFrames, 0.0.4"
// Install MattEland.ML.DataFrames as a Cake Addin #addin nuget:?package=MattEland.ML.DataFrames&version=0.0.4 // Install MattEland.ML.DataFrames as a Cake Tool #tool nuget:?package=MattEland.ML.DataFrames&version=0.0.4
MattEland.ML.DataFrames
This library offers extensions to make working with the Microsoft.Data.Analysis.DataFrame
class easier for data wrangling and machine learning workloads.
This code is in early prototyping and the library is not yet meant to be broadly consumed.
Capabilities
The library currently offers the following capabilities:
Removing multiple columns from a DataFrame
Previously in order to remove multiple columns from a DataFrame you needed to create an enumerable and loop over it, removing each column in turn.
This library provides a myDataFrame.Columns.Remove
extension method that takes in a params array of column names to remove.
Usage:
int columnsRemoved = myDataFrame.Columns.Remove("ColumnA", "ColumnB", "ColumnC");
Additionally, you can remove all columns except for a few specified columns with the myDataFrame.Columns.RemoveAllBut
method.
This is particularly helpful when you want drop all columns not needed for model training.
Usage:
int columnsRemoved = myDataFrame.Columns.RemoveAllBut("ColumnC", "ColumnD");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.