Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Reading a CSV
df ="filename.csv")
# Reading a CSV with header
df ="filename.csv", header=True)
# Reading a CSV using the load method
df ="csv").load("filename.csv")
# Reading a CSV using the load method with header
df ="csv").\
option("header", "true").\
# The same goes for different formats
df ="<file format>"). \
# Or using the given method
df =<format method>.("filename.<format>)
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.