[oalex] change the call of the function in the dataframe
This commit is contained in:
parent
4fe3d31ed5
commit
982a1b0b9f
|
@ -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") \
|
||||
|
|
Loading…
Reference in New Issue