Showing posts with the label
apache-spark
Issue I have a large dataset (hundreds of millions of rows) that I need to heavily process using sp…
Issue For a dataframe, before it is like: +----+----+----+ | ID|TYPE|CODE| +----+----+----+ | …
Issue I am trying to remove an element from a Python list of lists: +---------------+ | so…
Issue I would like to compute the maximum of a subset of columns for each row and add it as a new c…
Issue I'm creating Row objects in Spark. I do not want my fields to be ordered alphabetically. …
Issue I am very new to Pyspark. I tried parsing the JSON file using the following code from pyspa…
Issue I am new to spark and am attempting to speed up appending the contents of a dataframe, (that …
Issue With a dataframe like this, rdd_2 = sc.parallelize([(0,10,223,"201601"), (0,10,83…
Issue I would like to read multiple parquet files into a dataframe from S3. Currently, I'm usin…
Issue I have this PySpark DataFrame df = pd.DataFrame(np.array([ ["aa@gmail.com",2,…
Issue I am using Spark 2.0 with the Python API. I have a dataframe with a column of type DateType…
Issue I'm trying to do some NLP text clean up of some Unicode columns in a PySpark DataFrame. I…
Issue I have a PySpark df: +---+---+---+---+---+---+---+---+ | id| a1| b1| c1| d1| e1| f1|ref| +-…
Issue I am new for PySpark. I pulled a csv file using pandas. And created a temp table using regist…
Issue in the middle of project i am getting bellow error after invoking a function in my spark sq…
Issue Suppose I have the following case from pyspark.sql.types import * schema = StructType([ # …
Issue How to do pandas equivalent of pd.concat([df1,df2],axis='columns') using Pyspark data…
Issue Context: I need to filter a dataframe based on what contains another dataframe's column…
Issue The function - parse_url always works fine if we working with spark-sql throw sql-client (vi…
Issue I'm attempting to compare one row in a dataframe with the next to see the difference in t…