robin-sparkless 4.4.0

PySpark-like DataFrame API in Rust on Polars; no JVM.
Documentation
{
  "test_id": "conditional_when_otherwise",
  "pyspark_version": "3.5",
  "generated_at": "2025-10-27T14:13:13.589022",
  "input_data": [
    {
      "id": 1,
      "age": 25,
      "salary": 50000,
      "col1": null,
      "col2": "backup",
      "col3": "default"
    },
    {
      "id": 2,
      "age": 35,
      "salary": null,
      "col1": "primary",
      "col2": null,
      "col3": "default"
    },
    {
      "id": 3,
      "age": 45,
      "salary": 70000,
      "col1": "primary",
      "col2": "backup",
      "col3": null
    }
  ],
  "operation": "DataFrame operation: conditional_when_otherwise",
  "expected_output": {
    "schema": {
      "field_count": 1,
      "field_names": [
        "level"
      ],
      "field_types": [
        "string"
      ],
      "fields": [
        {
          "name": "level",
          "type": "string",
          "nullable": false
        }
      ]
    },
    "data": [
      {
        "level": "Junior"
      },
      {
        "level": "Senior"
      },
      {
        "level": "Senior"
      }
    ],
    "row_count": 3
  }
}