robin-sparkless 4.4.0

PySpark-like DataFrame API in Rust on Polars; no JVM.
Documentation
{
  "name": "aggregation",
  "pyspark_version": "3.5",
  "input": {
    "schema": [
      {
        "name": "id",
        "type": "string"
      },
      {
        "name": "name",
        "type": "string"
      },
      {
        "name": "age",
        "type": "string"
      },
      {
        "name": "salary",
        "type": "double"
      }
    ],
    "rows": [
      [
        1,
        "Alice",
        25,
        50000.0
      ],
      [
        2,
        "Bob",
        30,
        60000.0
      ],
      [
        3,
        "Charlie",
        35,
        70000.0
      ]
    ]
  },
  "operations": [
    {
      "op": "agg",
      "aggregations": [
        {
          "func": "avg",
          "alias": "avg_salary",
          "column": "salary"
        }
      ]
    }
  ],
  "expected": {
    "schema": [
      {
        "name": "avg_salary",
        "type": "double"
      }
    ],
    "rows": [
      [
        60000.0
      ]
    ]
  }
}