Skip to content

Instantly share code, notes, and snippets.

@kristoff-it
Created January 30, 2019 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristoff-it/f56200b5fd1e0552a5350ac0ce751c7b to your computer and use it in GitHub Desktop.
Save kristoff-it/f56200b5fd1e0552a5350ac0ce751c7b to your computer and use it in GitHub Desktop.
>>> data = full_df.select("en_curid", "countryCode", "occupation")
>>> data.show(2)
+--------+-----------+-----------+
|en_curid|countryCode| occupation|
+--------+-----------+-----------+
| 307| US| POLITICIAN|
| 308| GR|PHILOSOPHER|
+--------+-----------+-----------+
only showing top 2 rows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment