Skip to content

Commit a0a80aa

Browse files
pyspark groupby
1 parent 3f410a7 commit a0a80aa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyspark-groupby.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
import pyspark
99
from pyspark.sql import SparkSession
10-
from pyspark.sql.types import StructType,StructField, StringType, IntegerType
11-
from pyspark.sql.types import ArrayType, DoubleType, BooleanType
12-
from pyspark.sql.functions import col,array_contains,sum,avg,max
10+
from pyspark.sql.functions import col,sum,avg,max
1311

1412
spark = SparkSession.builder.appName('SparkByExamples.com').getOrCreate()
1513

0 commit comments

Comments
 (0)