Showing posts with the label
apache-spark-sql
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 am learning pyspark, and trying to connect to a mysql database. But i am getting a java.l…
Issue I would like to read multiple parquet files into a dataframe from S3. Currently, I'm usin…
Issue I'm using SparkSQL on pyspark to store some PostgreSQL tables into DataFrames and then bu…
Issue I have a dataframe with many columns. My aim is to produce a dataframe thats lists each colum…
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 I am having the pyspark dataframe (df) having below sample table (table1): id, col1, col2…