[oalex] change the call of the function in the dataframe

This commit is contained in:
Miriam Baglioni 2024-12-05 12:21:21 +01:00
parent 4fe3d31ed5
commit 982a1b0b9f
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ explode = spark.read.json(folder_path) \
affs = explode \
.select("affiliation") \
.distinct() \
.withColumn("Matchings", oalex_affro(col("aff_string")))
.withColumn("Matchings", oalex_affro_udf(col("aff_string")))
affs.join(explode, on = "affiliation") \