import pyspark
from pyspark.sql import SparkSession
from pyspark.sql.functions import col
from pyspark.sql.functions import to_timestamp, current_timestamp
from pyspark.sql.types import StructType, StructField, StringType, IntegerType, LongType

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

schema = StructType([
            StructField("seq", StringType(), True)])

dates = ['1']

#df = spark.createDataFrame(list('1'), schema=schema)

#df.show()
e35061ad33741ad1e01cd23a7d0bdb3a0b0353f6
<mask token>

<mask token>
spark = SparkSession.builder.appName('SparkByExamples.com').getOrCreate()
schema = StructType([StructField('seq', StringType(), True)])
dates = ['1']

import pyspark
from pyspark.sql import SparkSession
from pyspark.sql.functions import col
from pyspark.sql.functions import to_timestamp, current_timestamp
from pyspark.sql.types import StructType, StructField, StringType, IntegerType, LongType
spark = SparkSession.builder.appName('SparkByExamples.com').getOrCreate()
schema = StructType([StructField('seq', StringType(), True)])
dates = ['1']

import pyspark
from pyspark.sql import SparkSession
from pyspark.sql.functions import col
from pyspark.sql.functions import to_timestamp, current_timestamp
from pyspark.sql.types import StructType, StructField, StringType, IntegerType, LongType

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

schema = StructType([
            StructField("seq", StringType(), True)])

dates = ['1']

#df = spark.createDataFrame(list('1'), schema=schema)

#df.show()