{
  "id": "task_libraries:data-quality/python",
  "path": "/exapedia/python-data-quality-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python data quality libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python data quality libraries check that datasets match the rules a team expects, such as types, ranges, null counts, and uniqueness. A check runs against a DataFrame, a SQL table, or a Spark dataset and returns a structured result for each rule. These libraries let data pipelines stop bad records before they reach reports or machine learning models."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python data quality libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#gx-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F131"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pydeequ",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pandera",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#databricks-labs-dqx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#soda-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#datacompy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F212"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#datacontract-cli",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#frictionless",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#gx-core",
          "label": [
            {
              "t": "text",
              "text": "GX Core"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F132"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Direct pandas dataset input",
            "PySpark quality workflow"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#gx-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F131"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pydeequ",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pandera",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#databricks-labs-dqx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#soda-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#datacompy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F212"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#datacontract-cli",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#frictionless",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "gx-core",
          "name": [
            {
              "t": "fact",
              "fact": "F131"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/fivetran/great_expectations"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/great-expectations"
            },
            {
              "label": "Docs",
              "href": "https://docs.greatexpectations.io/docs/core/introduction/try_gx/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F13"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.greatexpectations.io/docs/core/introduction/try_gx/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F131"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/fivetran/airflow-provider-great-expectations",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _get_pandas_batch_definition(\n    self, gx_context: AbstractDataContext\n) -> BatchDefinition:\n    name = self.task_id\n    try:\n        data_source = gx_context.data_sources.get(name=name)\n        if not isinstance(data_source, PandasDatasource):\n            raise ExistingDataSourceTypeMismatch(\n                expected_type=PandasDatasource,\n                actual_type=type(data_source),\n                name=name,\n            )\n    except KeyError:\n        data_source = gx_context.data_sources.add_pandas(name=name)\n\n    try:\n        asset = data_source.get_asset(name=name)\n    except LookupError:\n        asset = data_source.add_dataframe_asset(name=name)\n\n    try:\n        batch_definition = asset.get_batch_definition(name=name)\n    except KeyError:\n        batch_definition = asset.add_batch_definition_whole_dataframe(name=name)\n\n    return batch_definition\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/fivetran/airflow-provider-great-expectations/blob/0893a15cb4a66d306f57f87bc2237e578952ed4f/great_expectations_provider/operators/validate_dataframe.py#L123-L148",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F146"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20great-expectations%20for%20dataset%20quality%20checks%20and%20validation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F131"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import great_expectations as gx\nimport pandas as pd\n\ncontext = gx.get_context()\nframe = pd.DataFrame({'value': [1, 2]})\nsource = context.data_sources.add_pandas('pandas')\nasset = source.add_dataframe_asset(name='frame')\nbatch_definition = asset.add_batch_definition_whole_dataframe('whole')\nbatch = batch_definition.get_batch(batch_parameters={'dataframe': frame})\nresult = batch.validate(gx.expectations.ExpectColumnValuesToBeBetween(column='value', min_value=1))\nprint(result)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.greatexpectations.io/docs/core/introduction/try_gx/",
                  "label": [
                    {
                      "t": "text",
                      "text": "try_gx_exploratory.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F136"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pydeequ",
          "name": [
            {
              "t": "fact",
              "fact": "F149"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/awslabs/python-deequ"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pydeequ"
            },
            {
              "label": "Docs",
              "href": "https://github.com/awslabs/python-deequ/blob/master/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F37"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/awslabs/python-deequ/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F149"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/aws-samples/data-science-on-aws",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def main():\n    args_iter = iter(sys.argv[1:])\n    args = dict(zip(args_iter, args_iter))\n\n    # Retrieve the args and replace 's3://' with 's3a://' (used by Spark)\n    s3_input_data = args[\"s3_input_data\"].replace(\"s3://\", \"s3a://\")\n    print(s3_input_data)\n    s3_output_analyze_data = args[\"s3_output_analyze_data\"].replace(\"s3://\", \"s3a://\")\n    print(s3_output_analyze_data)\n\n    spark = SparkSession.builder.appName(\"PySparkAmazonReviewsAnalyzer\").getOrCreate()\n\n    schema = StructType(\n        [\n            StructField(\"marketplace\", StringType(), True),\n            StructField(\"customer_id\", StringType(), True),\n            StructField(\"review_id\", StringType(), True),\n            StructField(\"product_id\", StringType(), True),\n            StructField(\"product_parent\", StringType(), True),\n            StructField(\"product_title\", StringType(), True),\n            StructField(\"product_category\", StringType(), True),\n            StructField(\"star_rating\", IntegerType(), True),\n            StructField(\"helpful_votes\", IntegerType(), True),\n            StructField(\"total_votes\", IntegerType(), True),\n            StructField(\"vine\", StringType(), True),\n            StructField(\"verified_purchase\", StringType(), True),\n            StructField(\"review_headline\", StringType(), True),\n            StructField(\"review_body\", StringType(), True),\n            StructField(\"review_date\", StringType(), True),\n        ]\n    )\n\n    dataset = spark.read.csv(s3_input_data, header=True, schema=schema, sep=\"\\t\", quote=\"\")\n\n    # Calculate statistics on the dataset\n    analysisResult = (\n        AnalysisRunner(spark)\n        .onData(dataset)\n        .addAnalyzer(Size())\n        .addAnalyzer(Completeness(\"review_id\"))\n        .addAnalyzer(ApproxCountDistinct(\"review_id\"))\n        .addAnalyzer(Mean(\"star_rating\"))\n        .addAnalyzer(Compliance(\"top star_rating\", \"star_rating >= 4.0\"))\n        .addAnalyzer(Correlation(\"total_votes\", \"star_rating\"))\n        .addAnalyzer(Correlation(\"total_votes\", \"helpful_votes\"))\n        .run()\n    )\n\n    metrics = AnalyzerContext.successMetricsAsDataFrame(spark, analysisResult)\n    metrics.show(truncate=False)\n    metrics.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\"sep\", \"\\t\").save(\n        \"{}/dataset-metrics\".format(s3_output_analyze_data)\n    )\n\n    # Check data quality\n    verificationResult = (\n        VerificationSuite(spark)\n        .onData(dataset)\n        .addCheck(\n            Check(spark, CheckLevel.Error, \"Review Check\")\n            .hasSize(lambda x: x >= 200000)\n            .hasMin(\"star_rating\", lambda x: x == 1.0)\n            .hasMax(\"star_rating\", lambda x: x == 5.0)\n            .isComplete(\"review_id\")\n            .isUnique(\"review_id\")\n            .isComplete(\"marketplace\")\n            .isContainedIn(\"marketplace\", [\"US\", \"UK\", \"DE\", \"JP\", \"FR\"])\n        )\n        .run()\n    )\n\n    print(f\"Verification Run Status: {verificationResult.status}\")\n    resultsDataFrame = VerificationResult.checkResultsAsDataFrame(spark, verificationResult)\n    resultsDataFrame.show(truncate=False)\n    resultsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\n        \"sep\", \"\\t\"\n    ).save(\"{}/constraint-checks\".format(s3_output_analyze_data))\n\n    verificationSuccessMetricsDataFrame = VerificationResult.successMetricsAsDataFrame(spark, verificationResult)\n    verificationSuccessMetricsDataFrame.show(truncate=False)\n    verificationSuccessMetricsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\n        \"header\", True\n    ).option(\"sep\", \"\\t\").save(\"{}/success-metrics\".format(s3_output_analyze_data))\n\n    # Suggest new checks and constraints\n    suggestionsResult = ConstraintSuggestionRunner(spark).onData(dataset).addConstraintRule(DEFAULT()).run()\n\n    suggestions = suggestionsResult[\"constraint_suggestions\"]\n    parallelizedSuggestions = spark.sparkContext.parallelize(suggestions)\n\n    suggestionsResultsDataFrame = spark.createDataFrame(parallelizedSuggestions)\n    suggestionsResultsDataFrame.show(truncate=False)\n    suggestionsResultsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\n        \"sep\", \"\\t\"\n    ).save(\"{}/constraint-suggestions\".format(s3_output_analyze_data))\n\n    print(\"end of run reached\")\n    spark.sparkContext._gateway.close()\n    spark.stop()\n    print(\"spark stopped\")\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/aws-samples/data-science-on-aws/blob/6239856d85bf71386791c8bd66c0a92037a8a5ae/preprocess_deequ_pyspark.py#L27-L126",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20pydeequ%20for%20dataset%20quality%20checks%20and%20validation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F149"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pyspark.sql import SparkSession\nfrom pydeequ.analyzers import AnalysisRunner, Size\n\nspark = SparkSession.builder.getOrCreate()\nframe = spark.createDataFrame([(1,), (2,)], ['value'])\nresult = AnalysisRunner(spark).onData(frame).addAnalyzer(Size()).run()\nprint(result)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/awslabs/python-deequ/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F154"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pandera",
          "name": [
            {
              "t": "fact",
              "fact": "F167"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/unionai-oss/pandera"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pandera"
            },
            {
              "label": "Docs",
              "href": "https://pandera.readthedocs.io/en/stable/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F62"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pandera.readthedocs.io/en/stable/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F167"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/dagster-io/dagster",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _pandera_schema_to_type_check_fn(\n    schema: DagsterPanderaSchema,\n    table_schema: TableSchema,\n) -> Callable[[TypeCheckContext, object], TypeCheck]:\n    def type_check_fn(_context, value: object) -> TypeCheck:\n        if isinstance(value, VALID_DATAFRAME_CLASSES):\n            try:\n                # `lazy` instructs pandera to capture every (not just the first) validation error\n                # TODO: pending alternative dataframe support\n                if isinstance(schema, pa_pd.DataFrameSchema):\n                    df = check.inst(value, pd.DataFrame, \"Must be a pandas DataFrame.\")\n                    schema.validate(df, lazy=True)\n                # need to check that polars and pandera.polars are available before isinstance\n                elif pl and pa_pl and isinstance(schema, pa_pl.DataFrameSchema):  # ty: ignore[redundant-condition]\n                    df = check.inst(value, pl.DataFrame, \"Must be a polars DataFrame.\")\n                    schema.validate(df, lazy=True)\n                else:\n                    check.failed(\n                        f\"Unexpected schema/value type combination: {type(schema).__name__} / {type(value).__name__}\"\n                    )\n            except pa_errors.SchemaErrors as e:\n                return _pandera_errors_to_type_check(e, table_schema)\n            except Exception as e:\n                return TypeCheck(\n                    success=False,\n                    description=f\"Unexpected error during validation: {e}\",\n                )\n        else:\n            return TypeCheck(\n                success=False,\n                description=(\n                    f\"Must be one of {VALID_DATAFRAME_CLASSES}, not {type(value).__name__}.\"\n                ),\n            )\n\n        return TypeCheck(success=True)\n\n    return type_check_fn\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/dagster-io/dagster/blob/b0099d257d666c1c95e8079254060d2ab2caa6f3/python_modules/libraries/dagster-pandera/dagster_pandera/__init__.py#L175-L212",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F180"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20pandera%20for%20dataset%20quality%20checks%20and%20validation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F167"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pandas as pd\nimport pandera.pandas as pa\n\nschema = pa.DataFrameSchema({'value': pa.Column(int, pa.Check.ge(0))})\nvalidated = schema.validate(pd.DataFrame({'value': [1, 2]}))\nprint(validated)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pandera.readthedocs.io/en/stable/",
                  "label": [
                    {
                      "t": "text",
                      "text": "stable.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F172"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "databricks-labs-dqx",
          "name": [
            {
              "t": "fact",
              "fact": "F183"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/databrickslabs/dqx"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/databricks-labs-dqx"
            },
            {
              "label": "Docs",
              "href": "https://databrickslabs.github.io/dqx/docs/reference/api/engine/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F190"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://databrickslabs.github.io/dqx/docs/reference/api/engine/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F183"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from databricks.sdk import WorkspaceClient\nfrom databricks.labs.dqx.engine import DQEngineCore\n\nengine = DQEngineCore(workspace_client=WorkspaceClient())\nchecks = engine.load_checks_from_local_file('checks.yml')\nresult = engine.apply_checks_by_metadata(df, checks)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://databrickslabs.github.io/dqx/docs/reference/api/engine/",
                  "label": [
                    {
                      "t": "text",
                      "text": "engine.py"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=databricks-labs-dqx%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F183"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F188"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "soda-core",
          "name": [
            {
              "t": "fact",
              "fact": "F198"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/sodadata/soda-core"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/soda-core"
            },
            {
              "label": "Docs",
              "href": "https://docs.soda.io/apis/python-api"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F85"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.soda.io/apis/python-api",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F198"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from soda_core.contracts import verify_contract_locally\n\nresult = verify_contract_locally(\n    data_source_file_path='data_source.yml',\n    contract_file_path='contract.yml',\n)\nprint(result)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/sodadata/soda-core/blob/main/soda-core/src/soda_core/contracts/__init__.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "__init__.py"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20soda-core%20for%20dataset%20quality%20checks%20and%20validation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F198"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F203"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "datacompy",
          "name": [
            {
              "t": "fact",
              "fact": "F212"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/capitalone/datacompy"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/datacompy"
            },
            {
              "label": "Docs",
              "href": "https://capitalone.github.io/datacompy/api/datacompy.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F219"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://capitalone.github.io/datacompy/api/datacompy.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F212"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pandas as pd\nfrom datacompy import PandasCompare\n\nleft = pd.DataFrame({'id': [1], 'value': [2]})\nright = pd.DataFrame({'id': [1], 'value': [2]})\ncomparison = PandasCompare(left, right, join_columns='id')\nprint(comparison.matches())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/capitalone/datacompy/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=datacompy%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F212"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F217"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "datacontract-cli",
          "name": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/datacontract/datacontract-cli"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/datacontract-cli"
            },
            {
              "label": "Docs",
              "href": "https://cli.datacontract.com/python-library"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cli.datacontract.com/python-library",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from datacontract.data_contract import DataContract\n\ncontract = DataContract(data_contract_file='datacontract.yaml')\nrun = contract.lint()\nprint(run.result)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cli.datacontract.com/python-library",
                  "label": [
                    {
                      "t": "text",
                      "text": "python-library.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=datacontract-cli%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F231"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "frictionless",
          "name": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/frictionlessdata/frictionless-py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/frictionless"
            },
            {
              "label": "Docs",
              "href": "https://github.com/frictionlessdata/frictionless-py/blob/main/docs/guides/validating-data.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F247"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/frictionlessdata/frictionless-py/blob/main/docs/guides/validating-data.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pprint import pprint\nfrom frictionless import validate\n\nreport = validate('capital-invalid.csv')\nprint(report)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/frictionlessdata/frictionless-py/blob/main/docs/guides/validating-data.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "validating-data.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=frictionless%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F245"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python data quality library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#gx-core",
          "label": [
            {
              "t": "text",
              "text": "GX Core"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits teams that define expectations for DataFrames or SQL data and want readable validation documentation. "
        },
        {
          "t": "link",
          "href": "#pandera",
          "label": [
            {
              "t": "text",
              "text": "Pandera"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits schema checks on DataFrames inside Python code. "
        },
        {
          "t": "link",
          "href": "#pydeequ",
          "label": [
            {
              "t": "text",
              "text": "PyDeequ"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#databricks-labs-dqx",
          "label": [
            {
              "t": "text",
              "text": "DQX"
            }
          ]
        },
        {
          "t": "text",
          "text": " suit checks on Spark datasets."
        }
      ]
    },
    {
      "q": "What is Great Expectations?",
      "a": [
        {
          "t": "text",
          "text": "Great Expectations, published as "
        },
        {
          "t": "link",
          "href": "#gx-core",
          "label": [
            {
              "t": "text",
              "text": "GX Core"
            }
          ]
        },
        {
          "t": "text",
          "text": ", defines expectations about data and validates DataFrame batches or SQL data against them. Each run returns structured results and can build readable validation documentation."
        }
      ]
    },
    {
      "q": "What is Pandera?",
      "a": [
        {
          "t": "link",
          "href": "#pandera",
          "label": [
            {
              "t": "text",
              "text": "Pandera"
            }
          ]
        },
        {
          "t": "text",
          "text": " validates DataFrame-like objects against schemas, column properties, and custom checks. It covers both schema and statistical validation."
        }
      ]
    },
    {
      "q": "What is DataComPy?",
      "a": [
        {
          "t": "link",
          "href": "#datacompy",
          "label": [
            {
              "t": "text",
              "text": "DataComPy"
            }
          ]
        },
        {
          "t": "text",
          "text": " compares two datasets and reports the differences in rows and columns."
        }
      ]
    },
    {
      "q": "What is Soda Core?",
      "a": [
        {
          "t": "link",
          "href": "#soda-core",
          "label": [
            {
              "t": "text",
              "text": "Soda Core"
            }
          ]
        },
        {
          "t": "text",
          "text": " verifies schema and data quality contracts written in YAML against a data source."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, great-expectations",
      "display": "GX Core",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, great-expectations",
      "display": "19.2M",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, great-expectations",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, great-expectations",
      "display": "1.25.0, Nov 2026",
      "asOf": "2026-11-12"
    },
    "F5": {
      "label": "Package release date, great-expectations",
      "display": "Nov 2026",
      "asOf": "2026-11-12"
    },
    "F6": {
      "label": "Repository stars, great-expectations",
      "display": "11.9K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Dataframe checks, great-expectations",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "SQL checks, great-expectations",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Cross-column rules, great-expectations",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Collects failures, great-expectations",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Output formats, great-expectations",
      "display": "HTML",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "Install, great-expectations",
      "display": "pip install great_expectations pandas",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "What it does, great-expectations",
      "display": "Defines data expectations, validates datasets, and builds readable validation documentation.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, great-expectations",
      "display": "Organizes reusable data expectations",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, great-expectations",
      "display": "Define expectations as unit tests for data.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths lead, great-expectations",
      "display": "Builds readable validation sites",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "strengths, great-expectations",
      "display": "Generate HTML pages for expectation suites and validation results.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, great-expectations",
      "display": "Defaults to summary results",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, great-expectations",
      "display": "Set result_format for the failure details the pipeline needs.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Quickstart, great-expectations",
      "display": "\"\"\"\nThis example script allows the user to try out GX by validating Expectations\n against sample data.\n\nThe snippet tags are used to insert the corresponding code into the\n Great Expectations documentation.  They can be disregarded by anyone\n reviewing this script.\n\"\"\"\n# ruff: noqa: I001\n# Adding noqa rule so that GX and Pandas imports don't get reordered by linter.\n\n\n# Import required modules from GX library.\nimport great_expectations as gx\n\nimport pandas as pd\n\n# Create Data Context.\ncontext = gx.get_context()\n\n# Import sample data into Pandas DataFrame.\ndf = pd.read_csv(\n    \"https://raw.githubusercontent.com/great-expectations/gx_tutorials/main/data/yellow_tripdata_sample_2019-01.csv\"\n)\n\n# Connect to data.\n# Create Data Source, Data Asset, Batch Definition, and Batch.\ndata_source = context.data_sources.add_pandas(\"pandas\")\ndata_asset = data_source.add_dataframe_asset(name=\"pd dataframe asset\")\n\nbatch_definition = data_asset.add_batch_definition_whole_dataframe(\"batch definition\")\nbatch = batch_definition.get_batch(batch_parameters={\"dataframe\": df})\n\n# Create Expectation.\nexpectation = gx.expectations.ExpectColumnValuesToBeBetween(\n    column=\"passenger_count\", min_value=1, max_value=6, severity=\"warning\"\n)\n\n# Validate Batch using Expectation.\nvalidation_result = batch.validate(expectation)\nprint(validation_result)\n\n# Above snippet ends the full exploratory script.\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function, great-expectations",
      "display": "def _get_pandas_batch_definition(\n    self, gx_context: AbstractDataContext\n) -> BatchDefinition:\n    name = self.task_id\n    try:\n        data_source = gx_context.data_sources.get(name=name)\n        if not isinstance(data_source, PandasDatasource):\n            raise ExistingDataSourceTypeMismatch(\n                expected_type=PandasDatasource,\n                actual_type=type(data_source),\n                name=name,\n            )\n    except KeyError:\n        data_source = gx_context.data_sources.add_pandas(name=name)\n\n    try:\n        asset = data_source.get_asset(name=name)\n    except LookupError:\n        asset = data_source.add_dataframe_asset(name=name)\n\n    try:\n        batch_definition = asset.get_batch_definition(name=name)\n    except KeyError:\n        batch_definition = asset.add_batch_definition_whole_dataframe(name=name)\n\n    return batch_definition\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function reference, great-expectations",
      "display": "validate_dataframe.py · _get_pandas_batch_definition()",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project repository, great-expectations",
      "display": "fivetran/airflow-provider-great-expectations",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project stars, fivetran/airflow-provider-great-expectations",
      "display": "175",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project push date, fivetran/airflow-provider-great-expectations",
      "display": "Nov 2026",
      "asOf": "2026-11-04"
    },
    "F26": {
      "label": "Library name, pydeequ",
      "display": "PyDeequ",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Monthly downloads, pydeequ",
      "display": "12.9M",
      "asOf": "2026-11-16"
    },
    "F28": {
      "label": "License, pydeequ",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Package release, pydeequ",
      "display": "1.7.0, Sep 2026",
      "asOf": "2026-09-14"
    },
    "F30": {
      "label": "Package release date, pydeequ",
      "display": "Sep 2026",
      "asOf": "2026-09-14"
    },
    "F31": {
      "label": "Repository stars, pydeequ",
      "display": "828",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Dataframe checks, pydeequ",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "SQL checks, pydeequ",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Cross-column rules, pydeequ",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Collects failures, pydeequ",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Install, pydeequ",
      "display": "pip install pydeequ pyspark",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "What it does, pydeequ",
      "display": "Runs Deequ data-quality metrics, constraints, and suggestions through Apache Spark.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, pydeequ",
      "display": "Profiles data and verifies constraints",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, pydeequ",
      "display": "Combine metrics, constraint checks, and suggested rules in Spark.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, pydeequ",
      "display": "Tracks metrics across runs",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, pydeequ",
      "display": "Persist metrics in a repository for comparisons over time.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, pydeequ",
      "display": "Needs a matching Spark runtime",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, pydeequ",
      "display": "Set SPARK_VERSION before importing PyDeequ and load its matching JAR.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Quickstart, pydeequ",
      "display": "import os\n\nos.environ[\"SPARK_VERSION\"] = \"4.1\"\n\nfrom pyspark.sql import SparkSession, Row\nimport pydeequ\n\nspark = (SparkSession\n    .builder\n    .config(\"spark.jars.packages\", pydeequ.deequ_maven_coord)\n    .config(\"spark.jars.excludes\", pydeequ.f2j_maven_coord)\n    .getOrCreate())\n\ndf = spark.sparkContext.parallelize([\n            Row(a=\"foo\", b=1, c=5),\n            Row(a=\"bar\", b=2, c=6),\n            Row(a=\"baz\", b=3, c=None)]).toDF()\n\nfrom pydeequ.checks import *\nfrom pydeequ.verification import *\n\ncheck = Check(spark, CheckLevel.Warning, \"Review Check\")\n\ncheckResult = VerificationSuite(spark) \\\n    .onData(df) \\\n    .addCheck(\n        check.hasSize(lambda x: x >= 3) \\\n        .hasMin(\"b\", lambda x: x == 0) \\\n        .isComplete(\"c\")  \\\n        .isUnique(\"a\")  \\\n        .isContainedIn(\"a\", [\"foo\", \"bar\", \"baz\"]) \\\n        .isNonNegative(\"b\")) \\\n    .run()\n\ncheckResult_df = VerificationResult.checkResultsAsDataFrame(spark, checkResult)\ncheckResult_df.show()\n",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Project function, pydeequ",
      "display": "def main():\n    args_iter = iter(sys.argv[1:])\n    args = dict(zip(args_iter, args_iter))\n\n    # Retrieve the args and replace 's3://' with 's3a://' (used by Spark)\n    s3_input_data = args[\"s3_input_data\"].replace(\"s3://\", \"s3a://\")\n    print(s3_input_data)\n    s3_output_analyze_data = args[\"s3_output_analyze_data\"].replace(\"s3://\", \"s3a://\")\n    print(s3_output_analyze_data)\n\n    spark = SparkSession.builder.appName(\"PySparkAmazonReviewsAnalyzer\").getOrCreate()\n\n    schema = StructType(\n        [\n            StructField(\"marketplace\", StringType(), True),\n            StructField(\"customer_id\", StringType(), True),\n            StructField(\"review_id\", StringType(), True),\n            StructField(\"product_id\", StringType(), True),\n            StructField(\"product_parent\", StringType(), True),\n            StructField(\"product_title\", StringType(), True),\n            StructField(\"product_category\", StringType(), True),\n            StructField(\"star_rating\", IntegerType(), True),\n            StructField(\"helpful_votes\", IntegerType(), True),\n            StructField(\"total_votes\", IntegerType(), True),\n            StructField(\"vine\", StringType(), True),\n            StructField(\"verified_purchase\", StringType(), True),\n            StructField(\"review_headline\", StringType(), True),\n            StructField(\"review_body\", StringType(), True),\n            StructField(\"review_date\", StringType(), True),\n        ]\n    )\n\n    dataset = spark.read.csv(s3_input_data, header=True, schema=schema, sep=\"\\t\", quote=\"\")\n\n    # Calculate statistics on the dataset\n    analysisResult = (\n        AnalysisRunner(spark)\n        .onData(dataset)\n        .addAnalyzer(Size())\n        .addAnalyzer(Completeness(\"review_id\"))\n        .addAnalyzer(ApproxCountDistinct(\"review_id\"))\n        .addAnalyzer(Mean(\"star_rating\"))\n        .addAnalyzer(Compliance(\"top star_rating\", \"star_rating >= 4.0\"))\n        .addAnalyzer(Correlation(\"total_votes\", \"star_rating\"))\n        .addAnalyzer(Correlation(\"total_votes\", \"helpful_votes\"))\n        .run()\n    )\n\n    metrics = AnalyzerContext.successMetricsAsDataFrame(spark, analysisResult)\n    metrics.show(truncate=False)\n    metrics.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\"sep\", \"\\t\").save(\n        \"{}/dataset-metrics\".format(s3_output_analyze_data)\n    )\n\n    # Check data quality\n    verificationResult = (\n        VerificationSuite(spark)\n        .onData(dataset)\n        .addCheck(\n            Check(spark, CheckLevel.Error, \"Review Check\")\n            .hasSize(lambda x: x >= 200000)\n            .hasMin(\"star_rating\", lambda x: x == 1.0)\n            .hasMax(\"star_rating\", lambda x: x == 5.0)\n            .isComplete(\"review_id\")\n            .isUnique(\"review_id\")\n            .isComplete(\"marketplace\")\n            .isContainedIn(\"marketplace\", [\"US\", \"UK\", \"DE\", \"JP\", \"FR\"])\n        )\n        .run()\n    )\n\n    print(f\"Verification Run Status: {verificationResult.status}\")\n    resultsDataFrame = VerificationResult.checkResultsAsDataFrame(spark, verificationResult)\n    resultsDataFrame.show(truncate=False)\n    resultsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\n        \"sep\", \"\\t\"\n    ).save(\"{}/constraint-checks\".format(s3_output_analyze_data))\n\n    verificationSuccessMetricsDataFrame = VerificationResult.successMetricsAsDataFrame(spark, verificationResult)\n    verificationSuccessMetricsDataFrame.show(truncate=False)\n    verificationSuccessMetricsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\n        \"header\", True\n    ).option(\"sep\", \"\\t\").save(\"{}/success-metrics\".format(s3_output_analyze_data))\n\n    # Suggest new checks and constraints\n    suggestionsResult = ConstraintSuggestionRunner(spark).onData(dataset).addConstraintRule(DEFAULT()).run()\n\n    suggestions = suggestionsResult[\"constraint_suggestions\"]\n    parallelizedSuggestions = spark.sparkContext.parallelize(suggestions)\n\n    suggestionsResultsDataFrame = spark.createDataFrame(parallelizedSuggestions)\n    suggestionsResultsDataFrame.show(truncate=False)\n    suggestionsResultsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\n        \"sep\", \"\\t\"\n    ).save(\"{}/constraint-suggestions\".format(s3_output_analyze_data))\n\n    print(\"end of run reached\")\n    spark.sparkContext._gateway.close()\n    spark.stop()\n    print(\"spark stopped\")\n",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project function reference, pydeequ",
      "display": "preprocess_deequ_pyspark.py · main()",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project repository, pydeequ",
      "display": "aws-samples/data-science-on-aws",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project stars, aws-samples/data-science-on-aws",
      "display": "142",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project push date, aws-samples/data-science-on-aws",
      "display": "Apr 2024",
      "asOf": "2024-04-10"
    },
    "F50": {
      "label": "Library name, pandera",
      "display": "Pandera",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Monthly downloads, pandera",
      "display": "9.7M",
      "asOf": "2026-11-16"
    },
    "F52": {
      "label": "License, pandera",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Package release, pandera",
      "display": "0.36.0, Nov 2026",
      "asOf": "2026-11-10"
    },
    "F54": {
      "label": "Package release date, pandera",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F55": {
      "label": "Repository stars, pandera",
      "display": "4.5K",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Dataframe checks, pandera",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "SQL checks, pandera",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Cross-column rules, pandera",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Collects failures, pandera",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Output formats, pandera",
      "display": "JSON",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Install, pandera",
      "display": "pip install \"pandera[pandas]\"",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "What it does, pandera",
      "display": "Validates dataframe-like objects against schemas, column properties, and custom checks.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, pandera",
      "display": "Validates dataframe columns and rules",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, pandera",
      "display": "Check the types and properties of dataframe columns.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, pandera",
      "display": "Supports different dataframe backends",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, pandera",
      "display": "Choose the backend extra for the dataframe library in use.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, pandera",
      "display": "Stops after the first error",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, pandera",
      "display": "Set lazy to collect failures across schema checks.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Quickstart, pandera",
      "display": "import pandas as pd\nimport pandera.pandas as pa\n\n# data to validate\ndf = pd.DataFrame({\n    \"column1\": [1, 2, 3],\n    \"column2\": [1.1, 1.2, 1.3],\n    \"column3\": [\"a\", \"b\", \"c\"],\n})\n\nschema = pa.DataFrameSchema({\n    \"column1\": pa.Column(int, pa.Check.ge(0)),\n    \"column2\": pa.Column(float, pa.Check.lt(10)),\n    \"column3\": pa.Column(\n        str,\n        [\n            pa.Check.isin([*\"abc\"]),\n            pa.Check(lambda series: series.str.len() == 1),\n        ]\n    ),\n}\n)\n\nvalidated_df = schema.validate(df)\nprint(validated_df)\n\n",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project function, pandera",
      "display": "def _pandera_schema_to_type_check_fn(\n    schema: DagsterPanderaSchema,\n    table_schema: TableSchema,\n) -> Callable[[TypeCheckContext, object], TypeCheck]:\n    def type_check_fn(_context, value: object) -> TypeCheck:\n        if isinstance(value, VALID_DATAFRAME_CLASSES):\n            try:\n                # `lazy` instructs pandera to capture every (not just the first) validation error\n                # TODO: pending alternative dataframe support\n                if isinstance(schema, pa_pd.DataFrameSchema):\n                    df = check.inst(value, pd.DataFrame, \"Must be a pandas DataFrame.\")\n                    schema.validate(df, lazy=True)\n                # need to check that polars and pandera.polars are available before isinstance\n                elif pl and pa_pl and isinstance(schema, pa_pl.DataFrameSchema):  # ty: ignore[redundant-condition]\n                    df = check.inst(value, pl.DataFrame, \"Must be a polars DataFrame.\")\n                    schema.validate(df, lazy=True)\n                else:\n                    check.failed(\n                        f\"Unexpected schema/value type combination: {type(schema).__name__} / {type(value).__name__}\"\n                    )\n            except pa_errors.SchemaErrors as e:\n                return _pandera_errors_to_type_check(e, table_schema)\n            except Exception as e:\n                return TypeCheck(\n                    success=False,\n                    description=f\"Unexpected error during validation: {e}\",\n                )\n        else:\n            return TypeCheck(\n                success=False,\n                description=(\n                    f\"Must be one of {VALID_DATAFRAME_CLASSES}, not {type(value).__name__}.\"\n                ),\n            )\n\n        return TypeCheck(success=True)\n\n    return type_check_fn\n",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project function reference, pandera",
      "display": "__init__.py · _pandera_schema_to_type_check_fn()",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project repository, pandera",
      "display": "dagster-io/dagster",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project stars, dagster-io/dagster",
      "display": "16.4K",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project push date, dagster-io/dagster",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F75": {
      "label": "Library name, soda-core",
      "display": "Soda Core",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Monthly downloads, soda-core",
      "display": "1.8M",
      "asOf": "2026-11-16"
    },
    "F77": {
      "label": "License, soda-core",
      "display": "Elastic License 2.0",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Package release, soda-core",
      "display": "4.30.0, Nov 2026",
      "asOf": "2026-11-05"
    },
    "F79": {
      "label": "Package release date, soda-core",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F80": {
      "label": "Repository stars, soda-core",
      "display": "2.5K",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Dataframe checks, soda-core",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "SQL checks, soda-core",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Collects failures, soda-core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, soda-core",
      "display": "pip install soda-postgres",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, soda-core",
      "display": "Verifies schema and data-quality contracts expressed in YAML.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, soda-core",
      "display": "Defines checks as data contracts",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, soda-core",
      "display": "Store schema and data rules in YAML contracts.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, soda-core",
      "display": "Returns individual check outcomes",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, soda-core",
      "display": "Inspect each contract’s check results and overall execution status.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, soda-core",
      "display": "is_passed excludes execution errors",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, soda-core",
      "display": "Use is_ok to reject failed checks and execution errors.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "Quickstart, soda-core",
      "display": "from soda_core.contracts import verify_contract_locally\n\nresult = verify_contract_locally(\n    data_source_file_path=\"path/to/data_source.yml\",\n    contract_file_path=\"contract1.yaml\", ## OR dataset_identifier=\"datasource/db/schema/dataset\"\n    soda_cloud_file_path=\"path/to/soda_cloud.yml\",\n    variables={\"START_DATE\": \"2024-01-01\"},\n    publish=False,\n)\n",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Developer need",
      "display": "Reusable expectations and reports",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Why choose great-expectations",
      "display": "data expectations with validation documentation",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Developer need in introduction",
      "display": "reusable expectations and reports",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "When to consider pandera",
      "display": "dataframe-local schemas and checks fit the workflow",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Developer need",
      "display": "In-process dataframe checks",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Why choose pandera",
      "display": "dataframe column types and custom checks",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Developer need in introduction",
      "display": "in-process dataframe checks",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "When to consider great-expectations",
      "display": "the team needs generated validation-documentation sites",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need",
      "display": "YAML data contracts",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Why choose soda-core",
      "display": "schema and data checks expressed as contracts",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need in introduction",
      "display": "YAML data contracts",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "When to consider pandera",
      "display": "checks belong directly in Python dataframe processing",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need",
      "display": "Spark dataset metrics",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Why choose pydeequ",
      "display": "profiling and verifying Spark datasets",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need in introduction",
      "display": "spark dataset metrics",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Page introduction",
      "display": "Python data quality libraries let data developers check datasets against data-quality rules.",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "FAQ: How do these libraries differ from request-model validation?",
      "display": "Pandera validates dataframe-like objects.",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "FAQ: How do these libraries differ from request-model validation?",
      "display": "PyDeequ computes quality metrics and constraints over datasets in Spark.",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "FAQ: Which Python data-quality library should I choose?",
      "display": "GX Core organizes expectations and readable validation documentation.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: Which Python data-quality library should I choose?",
      "display": "Pandera validates dataframe schemas and custom rules.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: Which Python data-quality library should I choose?",
      "display": "Soda Core verifies YAML data contracts.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which Python data-quality library should I choose?",
      "display": "PyDeequ runs metrics, constraints, and suggestions through Spark.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Does Pandera return every schema failure by default?",
      "display": "The default raises SchemaError as soon as a schema assumption fails.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Does Pandera return every schema failure by default?",
      "display": "Lazy validation collects failures through the lazy option.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Can Pandera validate SQL-backed tables?",
      "display": "Its Ibis integration uses optional Pandera and Ibis backend extras.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Does a Soda is_passed result rule out execution errors?",
      "display": "is_passed ignores execution errors.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does a Soda is_passed result rule out execution errors?",
      "display": "is_ok requires no failed checks and no errors.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does the current Soda API use the legacy scan package names?",
      "display": "Current connector packages use soda followed by the data-source name.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does the current Soda API use the legacy scan package names?",
      "display": "Legacy packages use the soda-core prefix and require an explicit legacy version.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Can Soda checks run in an existing Spark session?",
      "display": "The SparkDataFrameDataSource integration can run checks through the notebook’s existing Spark session.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Does PyDeequ run independently of Spark?",
      "display": "PyDeequ wraps Deequ, which is built on Apache Spark.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Does PyDeequ run independently of Spark?",
      "display": "The runtime version must be selected before PyDeequ is imported.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Can PyDeequ remember metrics from earlier runs?",
      "display": "Its metrics repository persists and tracks Deequ runs over time.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: What does the output-formats column describe here?",
      "display": "GX Data Docs generate HTML pages for expectations and validation results.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: What does the output-formats column describe here?",
      "display": "Pandera’s JSON writer serializes a DataFrameSchema.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Does PyDeequ checkResultsAsJson return a serialized export?",
      "display": "The Python wrapper parses the JVM JSON result with json.loads before returning it.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: How detailed are GX validation results by default?",
      "display": "Expectation validation results default to SUMMARY.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: How detailed are GX validation results by default?",
      "display": "result_format controls the level of detail returned.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "Library name, great-expectations",
      "display": "GX Core",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Monthly downloads, great-expectations",
      "display": "19.5M",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "License, great-expectations",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Package release, great-expectations",
      "display": "1.25.0",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Package release date, great-expectations",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Install, great-expectations",
      "display": "pip install great_expectations pandas",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Quickstart, great-expectations",
      "display": "import great_expectations as gx\nimport pandas as pd\n\ncontext = gx.get_context()\nframe = pd.DataFrame({'value': [1, 2]})\nsource = context.data_sources.add_pandas('pandas')\nasset = source.add_dataframe_asset(name='frame')\nbatch_definition = asset.add_batch_definition_whole_dataframe('whole')\nbatch = batch_definition.get_batch(batch_parameters={'dataframe': frame})\nresult = batch.validate(gx.expectations.ExpectColumnValuesToBeBetween(column='value', min_value=1))\nprint(result)\n",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Repository stars, great-expectations",
      "display": "11.9K",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Direct pandas dataset input, great-expectations",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "PySpark quality workflow, great-expectations",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Native quality role, great-expectations",
      "display": "Expectations validate runtime DataFrame batches or SQL data and return structured results.",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "First-call prerequisites, great-expectations",
      "display": "Pandas installed alongside GX. An illustrative in-memory frame replaces the tutorial download; this is a disclosed primary API recipe, not an unchanged upstream snippet. A Data Context may reuse project configuration in the working directory.",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Whole external function contract, great-expectations",
      "display": "{\"arguments\": \"Actual AbstractDataContext argument and PandasDatasource binding are present in the full external source. String task_id is used consistently as datasource/asset/batch-definition name. Existing objects are reused; lookup failures trigger native creation methods. Existing non-Pandas source deliberately raises host type mismatch. Native KeyError/LookupError paths are preserved; no validation run is claimed.\", \"returns\": \"Returns a native BatchDefinition for the whole in-memory DataFrame asset. The actual dataset is supplied later by the operator, not by this configuration helper; the first-call recipe separately demonstrates batch validation.\"}",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "First-call prerequisites, great-expectations",
      "display": "Pandas installed alongside GX. An illustrative in-memory frame replaces the tutorial download; this is a disclosed primary API recipe, not an unchanged upstream snippet. A Data Context may reuse project configuration in the working directory.",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Project function, great-expectations",
      "display": "def _get_pandas_batch_definition(\n    self, gx_context: AbstractDataContext\n) -> BatchDefinition:\n    name = self.task_id\n    try:\n        data_source = gx_context.data_sources.get(name=name)\n        if not isinstance(data_source, PandasDatasource):\n            raise ExistingDataSourceTypeMismatch(\n                expected_type=PandasDatasource,\n                actual_type=type(data_source),\n                name=name,\n            )\n    except KeyError:\n        data_source = gx_context.data_sources.add_pandas(name=name)\n\n    try:\n        asset = data_source.get_asset(name=name)\n    except LookupError:\n        asset = data_source.add_dataframe_asset(name=name)\n\n    try:\n        batch_definition = asset.get_batch_definition(name=name)\n    except KeyError:\n        batch_definition = asset.add_batch_definition_whole_dataframe(name=name)\n\n    return batch_definition\n",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Project source file, great-expectations",
      "display": "great_expectations_provider/operators/validate_dataframe.py",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project full_name, great-expectations",
      "display": "fivetran/airflow-provider-great-expectations",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Project stargazers_count, great-expectations",
      "display": "175",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Library name, pydeequ",
      "display": "PyDeequ",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Monthly downloads, pydeequ",
      "display": "13.3M",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "License, pydeequ",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Package release, pydeequ",
      "display": "1.7.0",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Package release date, pydeequ",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Install, pydeequ",
      "display": "pip install pydeequ",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Quickstart, pydeequ",
      "display": "from pyspark.sql import SparkSession\nfrom pydeequ.analyzers import AnalysisRunner, Size\n\nspark = SparkSession.builder.getOrCreate()\nframe = spark.createDataFrame([(1,), (2,)], ['value'])\nresult = AnalysisRunner(spark).onData(frame).addAnalyzer(Size()).run()\nprint(result)\n",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Repository stars, pydeequ",
      "display": "828",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Direct pandas dataset input, pydeequ",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "PySpark quality workflow, pydeequ",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Native quality role, pydeequ",
      "display": "Spark analyzer metrics, constraint verification, and generated constraint suggestions using Deequ on the JVM.",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "First-call prerequisites, pydeequ",
      "display": "Before importing PyDeequ, configure SPARK_VERSION and a compatible Spark/JVM session with the matching Deequ Maven coordinate and f2j exclusion from the README. PyDeequ1.7 supports Spark3.5 and4.1; latest PySpark4.3 is not silently compatible. SparkSession here requires that prepared host; no environment was inspected or changed.",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Whole external function contract, pydeequ",
      "display": "{\"arguments\": \"The complete external function receives CLI S3 input/output arguments and creates a typed PySpark reviews DataFrame. Current1.7 public analyzer constructors accept the actual column/name/predicate string arguments; Check callbacks return Boolean constraints for size/min/max, and containment receives a string list. The chained onData/addAnalyzer/addCheck/run return builders/results match current sources. A compatible Spark3.5 or4.1 host, matching Deequ Maven JAR/f2j exclusion, S3 filesystem configuration, and selected1.7 dependencies must be prepared separately. Historical top-level pip installs in the original file are context, not a recommended installation; pin age is not API incompatibility. The whole function is retained unchanged, and no Spark service ran.\", \"returns\": \"AnalysisRunner result is consumed by AnalyzerContext.successMetricsAsDataFrame. VerificationResult.status remains a property; checkResultsAsDataFrame and successMetricsAsDataFrame return actual Spark frames used by the original writer. ConstraintSuggestionRunBuilder.run returns a dictionary containing constraint_suggestions, which the original code reads. All output overwrites, gateway closure, and JVM shutdown remain source behavior, not executed or silently removed.\"}",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "First-call prerequisites, pydeequ",
      "display": "Before importing PyDeequ, configure SPARK_VERSION and a compatible Spark/JVM session with the matching Deequ Maven coordinate and f2j exclusion from the README. PyDeequ1.7 supports Spark3.5 and4.1; latest PySpark4.3 is not silently compatible. SparkSession here requires that prepared host; no environment was inspected or changed.",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project function, pydeequ",
      "display": "def main():\n    args_iter = iter(sys.argv[1:])\n    args = dict(zip(args_iter, args_iter))\n\n    # Retrieve the args and replace 's3://' with 's3a://' (used by Spark)\n    s3_input_data = args[\"s3_input_data\"].replace(\"s3://\", \"s3a://\")\n    print(s3_input_data)\n    s3_output_analyze_data = args[\"s3_output_analyze_data\"].replace(\"s3://\", \"s3a://\")\n    print(s3_output_analyze_data)\n\n    spark = SparkSession.builder.appName(\"PySparkAmazonReviewsAnalyzer\").getOrCreate()\n\n    schema = StructType(\n        [\n            StructField(\"marketplace\", StringType(), True),\n            StructField(\"customer_id\", StringType(), True),\n            StructField(\"review_id\", StringType(), True),\n            StructField(\"product_id\", StringType(), True),\n            StructField(\"product_parent\", StringType(), True),\n            StructField(\"product_title\", StringType(), True),\n            StructField(\"product_category\", StringType(), True),\n            StructField(\"star_rating\", IntegerType(), True),\n            StructField(\"helpful_votes\", IntegerType(), True),\n            StructField(\"total_votes\", IntegerType(), True),\n            StructField(\"vine\", StringType(), True),\n            StructField(\"verified_purchase\", StringType(), True),\n            StructField(\"review_headline\", StringType(), True),\n            StructField(\"review_body\", StringType(), True),\n            StructField(\"review_date\", StringType(), True),\n        ]\n    )\n\n    dataset = spark.read.csv(s3_input_data, header=True, schema=schema, sep=\"\\t\", quote=\"\")\n\n    # Calculate statistics on the dataset\n    analysisResult = (\n        AnalysisRunner(spark)\n        .onData(dataset)\n        .addAnalyzer(Size())\n        .addAnalyzer(Completeness(\"review_id\"))\n        .addAnalyzer(ApproxCountDistinct(\"review_id\"))\n        .addAnalyzer(Mean(\"star_rating\"))\n        .addAnalyzer(Compliance(\"top star_rating\", \"star_rating >= 4.0\"))\n        .addAnalyzer(Correlation(\"total_votes\", \"star_rating\"))\n        .addAnalyzer(Correlation(\"total_votes\", \"helpful_votes\"))\n        .run()\n    )\n\n    metrics = AnalyzerContext.successMetricsAsDataFrame(spark, analysisResult)\n    metrics.show(truncate=False)\n    metrics.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\"sep\", \"\\t\").save(\n        \"{}/dataset-metrics\".format(s3_output_analyze_data)\n    )\n\n    # Check data quality\n    verificationResult = (\n        VerificationSuite(spark)\n        .onData(dataset)\n        .addCheck(\n            Check(spark, CheckLevel.Error, \"Review Check\")\n            .hasSize(lambda x: x >= 200000)\n            .hasMin(\"star_rating\", lambda x: x == 1.0)\n            .hasMax(\"star_rating\", lambda x: x == 5.0)\n            .isComplete(\"review_id\")\n            .isUnique(\"review_id\")\n            .isComplete(\"marketplace\")\n            .isContainedIn(\"marketplace\", [\"US\", \"UK\", \"DE\", \"JP\", \"FR\"])\n        )\n        .run()\n    )\n\n    print(f\"Verification Run Status: {verificationResult.status}\")\n    resultsDataFrame = VerificationResult.checkResultsAsDataFrame(spark, verificationResult)\n    resultsDataFrame.show(truncate=False)\n    resultsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\n        \"sep\", \"\\t\"\n    ).save(\"{}/constraint-checks\".format(s3_output_analyze_data))\n\n    verificationSuccessMetricsDataFrame = VerificationResult.successMetricsAsDataFrame(spark, verificationResult)\n    verificationSuccessMetricsDataFrame.show(truncate=False)\n    verificationSuccessMetricsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\n        \"header\", True\n    ).option(\"sep\", \"\\t\").save(\"{}/success-metrics\".format(s3_output_analyze_data))\n\n    # Suggest new checks and constraints\n    suggestionsResult = ConstraintSuggestionRunner(spark).onData(dataset).addConstraintRule(DEFAULT()).run()\n\n    suggestions = suggestionsResult[\"constraint_suggestions\"]\n    parallelizedSuggestions = spark.sparkContext.parallelize(suggestions)\n\n    suggestionsResultsDataFrame = spark.createDataFrame(parallelizedSuggestions)\n    suggestionsResultsDataFrame.show(truncate=False)\n    suggestionsResultsDataFrame.repartition(1).write.format(\"csv\").mode(\"overwrite\").option(\"header\", True).option(\n        \"sep\", \"\\t\"\n    ).save(\"{}/constraint-suggestions\".format(s3_output_analyze_data))\n\n    print(\"end of run reached\")\n    spark.sparkContext._gateway.close()\n    spark.stop()\n    print(\"spark stopped\")\n",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Project source file, pydeequ",
      "display": "preprocess_deequ_pyspark.py",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project full_name, pydeequ",
      "display": "aws-samples/data-science-on-aws",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project stargazers_count, pydeequ",
      "display": "142",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Library name, pandera",
      "display": "Pandera",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Monthly downloads, pandera",
      "display": "10.2M",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "License, pandera",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Package release, pandera",
      "display": "0.36.0",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Package release date, pandera",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Install, pandera",
      "display": "pip install 'pandera[pandas]'",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Quickstart, pandera",
      "display": "import pandas as pd\nimport pandera.pandas as pa\n\nschema = pa.DataFrameSchema({'value': pa.Column(int, pa.Check.ge(0))})\nvalidated = schema.validate(pd.DataFrame({'value': [1, 2]}))\nprint(validated)\n",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Repository stars, pandera",
      "display": "4.5K",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Direct pandas dataset input, pandera",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "PySpark quality workflow, pandera",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Dedicated quality role, pandera",
      "display": "Dataframe schema and statistical validation",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "First-call prerequisites, pandera",
      "display": "Install the pandas extra; this validates a small in-memory dataframe and raises on invalid values.",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Project function, pandera",
      "display": "def _pandera_schema_to_type_check_fn(\n    schema: DagsterPanderaSchema,\n    table_schema: TableSchema,\n) -> Callable[[TypeCheckContext, object], TypeCheck]:\n    def type_check_fn(_context, value: object) -> TypeCheck:\n        if isinstance(value, VALID_DATAFRAME_CLASSES):\n            try:\n                # `lazy` instructs pandera to capture every (not just the first) validation error\n                # TODO: pending alternative dataframe support\n                if isinstance(schema, pa_pd.DataFrameSchema):\n                    df = check.inst(value, pd.DataFrame, \"Must be a pandas DataFrame.\")\n                    schema.validate(df, lazy=True)\n                # need to check that polars and pandera.polars are available before isinstance\n                elif pl and pa_pl and isinstance(schema, pa_pl.DataFrameSchema):  # ty: ignore[redundant-condition]\n                    df = check.inst(value, pl.DataFrame, \"Must be a polars DataFrame.\")\n                    schema.validate(df, lazy=True)\n                else:\n                    check.failed(\n                        f\"Unexpected schema/value type combination: {type(schema).__name__} / {type(value).__name__}\"\n                    )\n            except pa_errors.SchemaErrors as e:\n                return _pandera_errors_to_type_check(e, table_schema)\n            except Exception as e:\n                return TypeCheck(\n                    success=False,\n                    description=f\"Unexpected error during validation: {e}\",\n                )\n        else:\n            return TypeCheck(\n                success=False,\n                description=(\n                    f\"Must be one of {VALID_DATAFRAME_CLASSES}, not {type(value).__name__}.\"\n                ),\n            )\n\n        return TypeCheck(success=True)\n\n    return type_check_fn\n",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project source file, pandera",
      "display": "python_modules/libraries/dagster-pandera/dagster_pandera/__init__.py",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project full_name, pandera",
      "display": "dagster-io/dagster",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project stargazers_count, pandera",
      "display": "16.4K",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Library name, databricks-labs-dqx",
      "display": "DQX",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Monthly downloads, databricks-labs-dqx",
      "display": "6.2M",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "License, databricks-labs-dqx",
      "display": "Databricks License",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Package release, databricks-labs-dqx",
      "display": "0.17.2",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Package release date, databricks-labs-dqx",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Install, databricks-labs-dqx",
      "display": "pip install databricks-labs-dqx",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Quickstart, databricks-labs-dqx",
      "display": "from databricks.sdk import WorkspaceClient\nfrom databricks.labs.dqx.engine import DQEngineCore\n\nengine = DQEngineCore(workspace_client=WorkspaceClient())\nchecks = engine.load_checks_from_local_file('checks.yml')\nresult = engine.apply_checks_by_metadata(df, checks)\n",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Official description, databricks-labs-dqx",
      "display": "Runs data quality checks and data quality monitoring.",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Quickstart source file, databricks-labs-dqx",
      "display": "src/databricks/labs/dqx/engine.py",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Repository stars, databricks-labs-dqx",
      "display": "487",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Direct pandas dataset input, databricks-labs-dqx",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "PySpark quality workflow, databricks-labs-dqx",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Dedicated quality role, databricks-labs-dqx",
      "display": "Spark dataset checks, bad-row splitting, and quality monitoring",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "First-call prerequisites, databricks-labs-dqx",
      "display": "Requires configured Databricks authentication, an active Spark session, an existing PySpark DataFrame named df, and a local checks.yml defining real rules. No observer is supplied, so the default result is a DataFrame. DQX license restricts use to Databricks Services; package metadata separately classifies it Other/Proprietary.",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Databricks-only license scope, databricks-labs-dqx",
      "display": "The license permits viewing, copying, modifying, publishing, and distributing only for use with Databricks Services under the applicable agreement; do not describe DQX as unrestricted MIT/Apache software.",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Library name, soda-core",
      "display": "Soda Core",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Monthly downloads, soda-core",
      "display": "1.9M",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "License, soda-core",
      "display": "Proprietary",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Package release, soda-core",
      "display": "4.30.0",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Package release date, soda-core",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Install, soda-core",
      "display": "pip install soda-postgres",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Quickstart, soda-core",
      "display": "from soda_core.contracts import verify_contract_locally\n\nresult = verify_contract_locally(\n    data_source_file_path='data_source.yml',\n    contract_file_path='contract.yml',\n)\nprint(result)\n",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Repository stars, soda-core",
      "display": "2.5K",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Direct pandas dataset input, soda-core",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "PySpark quality workflow, soda-core",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Dedicated quality role, soda-core",
      "display": "Data-source schema and data contract verification",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "First-call prerequisites, soda-core",
      "display": "Install the v4 connector for the actual data source, provide data-source and contract YAML files, and configure required database credentials. Local execution does not require Soda Cloud publishing. The v3 soda.scan.Scan API and soda-core-* connector generation are distinct.",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Current Spark connector family, soda-core",
      "display": "V4 soda-sparkdf supports existing, new, and Spark Connect sessions; legacy soda-core-spark-df distribution is not another framework and its count is not pooled.",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "License provenance and scope, soda-core",
      "display": "{\"selected_artifact_declaration\": \"Proprietary\", \"current_public_repository_terms\": \"Elastic License 2.0\"}",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Library name, datacompy",
      "display": "DataComPy",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Monthly downloads, datacompy",
      "display": "1.8M",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "License, datacompy",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Package release, datacompy",
      "display": "1.2.0",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Package release date, datacompy",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Install, datacompy",
      "display": "pip install datacompy",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Quickstart, datacompy",
      "display": "import pandas as pd\nfrom datacompy import PandasCompare\n\nleft = pd.DataFrame({'id': [1], 'value': [2]})\nright = pd.DataFrame({'id': [1], 'value': [2]})\ncomparison = PandasCompare(left, right, join_columns='id')\nprint(comparison.matches())\n",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Official description, datacompy",
      "display": "Compares DataFrames in Python.",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Quickstart source file, datacompy",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Repository stars, datacompy",
      "display": "671",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Direct pandas dataset input, datacompy",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "PySpark quality workflow, datacompy",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Dedicated quality role, datacompy",
      "display": "Compare two datasets and report row/column differences",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "First-call prerequisites, datacompy",
      "display": "Pandas is required; the two local fixture frames use a shared id key. Additional Spark/Snowflake backends require the documented extras. Current1.2.0 exports PandasCompare, not the old Compare name.",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Library name, datacontract-cli",
      "display": "Data Contract CLI",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Monthly downloads, datacontract-cli",
      "display": "1.1M",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "License, datacontract-cli",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Package release, datacontract-cli",
      "display": "1.2.11",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Package release date, datacontract-cli",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Install, datacontract-cli",
      "display": "pip install datacontract-cli",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Quickstart, datacontract-cli",
      "display": "from datacontract.data_contract import DataContract\n\ncontract = DataContract(data_contract_file='datacontract.yaml')\nrun = contract.lint()\nprint(run.result)\n",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Official description, datacontract-cli",
      "display": "Lints data contract YAML files, connects to data sources, and runs schema and quality tests from the command line.",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Quickstart source file, datacontract-cli",
      "display": "docs/docs/python-library.md",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Repository stars, datacontract-cli",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Direct pandas dataset input, datacontract-cli",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "PySpark quality workflow, datacontract-cli",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Dedicated quality role, datacontract-cli",
      "display": "Validate ODCS contracts and test source data against them",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "First-call prerequisites, datacontract-cli",
      "display": "Provide an existing local ODCS contract YAML file. Lint validates contract structure; testing actual source data instead requires test(), a suitable source adapter, and configured access.",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Library name, frictionless",
      "display": "Frictionless",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Monthly downloads, frictionless",
      "display": "988.8K",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "License, frictionless",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Package release, frictionless",
      "display": "5.21.0",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Package release date, frictionless",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Install, frictionless",
      "display": "pip install frictionless",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Quickstart, frictionless",
      "display": "from pprint import pprint\nfrom frictionless import validate\n\nreport = validate('capital-invalid.csv')\nprint(report)\n",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Official description, frictionless",
      "display": "Describes, extracts, validates, and transforms tabular data.",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Quickstart source file, frictionless",
      "display": "docs/guides/validating-data.md",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Repository stars, frictionless",
      "display": "858",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Direct pandas dataset input, frictionless",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "PySpark quality workflow, frictionless",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Dedicated quality role, frictionless",
      "display": "Validate tabular resources and packages with structured error reports",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "First-call prerequisites, frictionless",
      "display": "Provide the capital-invalid.csv fixture linked by the official guide, or replace its filename with an actual local tabular resource. The pprint import is preserved from the official snippet; no dataset or SDK is executed.",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Pandas adapter, frictionless",
      "display": "Native pandas reading uses the optional frictionless[pandas] extra and Resource(df); validation remains the resource.validate contract.",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python data quality libraries GX Core Pandera Soda Core PyDeequ code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
