Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# read a csv file
my_data = spark.read.csv('ind-ban-comment.csv',header=True)
# see the default schema of the dataframe
my_data.printSchema()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.