Created
April 11, 2018 12:48
-
-
Save dvainrub/4eb803496d6f24dc589ee037eb95f23f to your computer and use it in GitHub Desktop.
This file contains 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
cmd> pyspark | |
>>> nums = sc.parallelize([1,2,3,4]) | |
>>> nums.map(lambda x: x*x).collect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment