Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 20, 2021 01:04
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 1ambda/f116ab63701868bd70543ac9f6d80473 to your computer and use it in GitHub Desktop.
Save 1ambda/f116ab63701868bd70543ac9f6d80473 to your computer and use it in GitHub Desktop.
df.count() # 로딩한 데이터의 숫자를 센 후 출력합니다
df.show() # 데이터를 일부 콘솔에 출력합니다.
df.toPandas() # PySpark 에서 사용할 수 있는 함수로, Jupyter 에서 데이터를 편하게 볼 수 있습니다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment