# PySpark Issues for expect\_column\_value\_z\_scores\_to\_be\_less\_than

**URL:** https://discourse.greatexpectations.io/t/pyspark-issues-for-expect-column-value-z-scores-to-be-less-than/1030
**Category:** Archive
**Created:** [April 19, 2022, 1:45pm UTC](https://discourse.greatexpectations.io/t/pyspark-issues-for-expect-column-value-z-scores-to-be-less-than/1030 "2022-04-19T13:45:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kunalmbm](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@kunalmbm](https://discourse.greatexpectations.io/u/kunalmbm)
#### Post date: [April 19, 2022, 1:45pm UTC](https://discourse.greatexpectations.io/t/pyspark-issues-for-expect-column-value-z-scores-to-be-less-than/1030/1 "2022-04-19T13:45:15Z")

</div>

Dear Team,  
I am trying to implement the z\_score expectation mentioned [here](https://greatexpectations.io/expectations/expect_column_value_z_scores_to_be_less_than)

However, in PySpark I am getting following error while testing it.  
I am using GE version 0.14.12. Could you please let me know how to make it work?

Let me know if you need any further information.

```auto
 {
    "exception_info": {
        "exception_message": "'SparkDFDataset' object has no attribute 'expect_column_value_z_scores_to_be_less_than'",
        "exception_traceback": "Traceback (most recent call last):\n File \"/Users/m_675575/opt/miniconda3/envs/dev379/lib/python3.7/site-packages/great_expectations/data_asset/data_asset.py\", line 938, in validate\n expectation_method = getattr(self, expectation.expectation_type)\nAttributeError: 'SparkDFDataset' object has no attribute 'expect_column_value_z_scores_to_be_less_than'\n",
        "raised_exception": true
    },
    "expectation_config": {
        "expectation_type": "expect_column_value_z_scores_to_be_less_than",
        "kwargs": {
            "column": "wk_kritisch_doc",
            "threshold": 5.3178400729279796
        },
        "meta": {}
    },
    "meta": {},
    "result": {},
    "success": false
},

```
