Created
          August 20, 2020 21:47 
        
      - 
      
 - 
        
Save aialenti/dd8dbdb0cb91afce2f8aab6e353a0de4 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
    
  
  
    
  | # Import Spark | |
| import pyspark | |
| from pyspark.sql import SparkSession | |
| from pyspark.sql.functions import * | |
| # Initialize the Spark session | |
| spark = SparkSession.builder \ | |
| .master("local") \ | |
| .appName("SparkLikeABoss") \ | |
| .getOrCreate() | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment