Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pyspark

Spark - Missing 1 Required Position Argument (lambda Function)

I'm trying to distribute some text extraction from PDFs between multiple servers using Spark. T… Read more Spark - Missing 1 Required Position Argument (lambda Function)

Pyspark: Concat Function Generated Columns Into New Dataframe

I have a pyspark dataframe (df) with n cols, I would like to generate another df of n cols, where e… Read more Pyspark: Concat Function Generated Columns Into New Dataframe

Cosine Similarity For Two Pyspark Dataframes

I have a PySpark DataFrame, df1, that looks like: CustomerID CustomerValue CustomerValue2 12 … Read more Cosine Similarity For Two Pyspark Dataframes

Flatten Nested Array In Spark Dataframe

I'm reading in some JSON on the from: {'a': [{'b': {'c': 1, 'd'… Read more Flatten Nested Array In Spark Dataframe

Encountering " Warn Procfsmetricsgetter: Exception When Trying To Compute Pagesize" Error When Running Spark

I installed spark and when trying to run it, I am getting the error: WARN ProcfsMetricsGetter: Exc… Read more Encountering " Warn Procfsmetricsgetter: Exception When Trying To Compute Pagesize" Error When Running Spark

Pyspark 2.1: Importing Module With Udf's Breaks Hive Connectivity

I'm currently working with Spark 2.1 and have a main script that calls a helper module that con… Read more Pyspark 2.1: Importing Module With Udf's Breaks Hive Connectivity