Cortex 1.1.0
dotnet add package Cortex --version 1.1.0
NuGet\Install-Package Cortex -Version 1.1.0
<PackageReference Include="Cortex" Version="1.1.0" />
<PackageVersion Include="Cortex" Version="1.1.0" />
<PackageReference Include="Cortex" />
paket add Cortex --version 1.1.0
#r "nuget: Cortex, 1.1.0"
#:package Cortex@1.1.0
#addin nuget:?package=Cortex&version=1.1.0
#tool nuget:?package=Cortex&version=1.1.0
Cortex
A high-performance, pandas-like DataFrame library for .NET backed by Apache Arrow with SIMD acceleration.
Part of the Cortex data science ecosystem for .NET.
Requires .NET 10+
Features
- Arrow-backed columnar storage for cache-friendly, zero-copy data access
- SIMD-accelerated operations for blazing-fast numeric computation
- Rich I/O — CSV, Parquet, Excel, JSON, Avro, ORC, and HTML out of the box
- Expressive API — filtering, grouping, joining, pivoting, and reshaping
- Lazy evaluation — deferred query execution with filter/sort/select optimization
- Native C accelerators for quantile and aggregation hot paths
- Dictionary-encoded strings for O(K) categorical operations
Installation
dotnet add package Cortex
Quick Start
using Cortex;
var df = DataFrame.ReadCsv("sales.csv");
var summary = df.GroupBy("region")
.Agg(x => x.Sum("revenue"), x => x.Mean("quantity"))
.SortBy("revenue", ascending: false);
summary.Head(10).Print();
Filtering and Boolean Indexing
// Boolean indexing
var senior = df[df["Age"].Gt(28)];
// Query expressions
var filtered = df.Query("Salary > 55000");
// Arithmetic operators on columns
var bonus = df.GetColumn<double>("Salary") * 0.1;
Lazy Evaluation
var result = df.Lazy()
.Filter(Col("Age") > Lit(25))
.Sort("Salary", ascending: false)
.Select("Name", "Salary")
.Head(10)
.Collect();
I/O
// Auto-detect format from extension
var df = DataFrameIO.Load("data.parquet"); // .csv, .json, .arrow, .xlsx, .avro, .orc
df.Save("output.csv.gz"); // gzip-compressed
Related Packages
| Package | Description |
|---|---|
| Cortex.ML | Machine learning models and transformers |
| Cortex.Viz | Plotly chart generation and dashboards |
| Cortex.GPU | GPU-accelerated DataFrame operations |
| Cortex.IO.Database | SQL database I/O with push-down |
| Cortex.TimeSeries | ARIMA, SARIMA, and Holt-Winters forecasting |
Links
| 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. |
-
net10.0
- AngleSharp (>= 1.4.0)
- Apache.Arrow (>= 18.1.0)
- ClosedXML (>= 0.105.0)
- Parquet.Net (>= 5.5.0)
NuGet packages (16)
Showing the top 5 NuGet packages that depend on Cortex:
| Package | Downloads |
|---|---|
|
Cortex.ML
Machine learning toolkit for Cortex: tensors, feature engineering, pipelines, evaluation |
|
|
Cortex.Streaming
Real-time micro-batch streaming engine for Cortex DataFrames |
|
|
Cortex.Cloud
Cloud storage adapters for Cortex — read/write DataFrames from S3, Azure Blob, and GCS |
|
|
Cortex.ML.Onnx
ONNX Runtime inference bridge for Cortex DataFrames |
|
|
Cortex.Text
NLP pipeline for Cortex: tokenizers, text preprocessing, embeddings, text analytics |
GitHub repositories
This package is not used by any popular GitHub repositories.