为 Go 打造的全能数据分析工具
高性能、类 pandas API、充分利用 Go 并发优势
性能表现
Excel 读取速度是 pandas 的 2 倍
| 数据集 | DataGo | pandas | polars |
|---|---|---|---|
| 15K rows × 11 cols | 0.21s | 0.51s | 0.10s |
| 271K rows × 16 cols | 5.76s | 11.01s | 2.18s |
简洁而强大
熟悉的 pandas 风格 API,Go 原生性能
// Create DataFrame
df, _ := dataframe.New(map[string][]interface{}{
"product": {"A", "B", "A", "B"},
"sales": {100.0, 150.0, 200.0, 120.0},
})
// GroupBy aggregation
gb, _ := df.GroupBy("product")
stats := gb.Sum("sales")
// Merge DataFrames
result, _ := dataframe.Merge(left, right, MergeOptions{
How: InnerJoin,
On: []string{"id"},
})
// Parallel processing
result := df.ParallelFilter(func(row Row) bool {
return row.Get("sales").(float64) > 100
})