Created
April 6, 2019 20:34
-
-
Save dipanjanS/41c099d008d3e5148c8a841bdb0326d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # configure spark variables | |
| from pyspark.context import SparkContext | |
| from pyspark.sql.context import SQLContext | |
| from pyspark.sql.session import SparkSession | |
| sc = SparkContext() | |
| sqlContext = SQLContext(sc) | |
| spark = SparkSession(sc) | |
| # load up other dependencies | |
| import re | |
| import pandas as pd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment