Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pyspark.sql.types import *
- schema = StructType([
- StructField("key", StringType()),
- StructField("avg_min", DoubleType())
- ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement