def METHOD_NAME(spark):
    settings = {
        "link_type": "dedupe_only",
        "unique_id_column_name": "id",
    }
    spark_df = spark.read.parquet("tests/datasets/arrays_df.parquet")
    spark_df.persist()
    linker = SparkLinker(
        spark_df,
        settings,
    )
    column_expressions = ["forename", "surname", "offence_code_arr", "lat_long"]
    linker.profile_columns(
        column_expressions,
        top_n=3,
        bottom_n=3,
    )