Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 20, 2021 01:02
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/00b479116c837b7642da973da012b663 to your computer and use it in GitHub Desktop.
Save 1ambda/00b479116c837b7642da973da012b663 to your computer and use it in GitHub Desktop.
df.printSchema() # 스키마, 즉 데이터의 형태를 보여줍니다.
root
|-- ID: integer (nullable = true)
|-- Year_Birth: integer (nullable = true)
|-- Education: string (nullable = true)
|-- Marital_Status: string (nullable = true)
|-- Income: integer (nullable = true)
|-- Kidhome: integer (nullable = true)
|-- Teenhome: integer (nullable = true)
|-- Dt_Customer: string (nullable = true)
|-- Recency: integer (nullable = true)
|-- MntWines: integer (nullable = true)
|-- MntFruits: integer (nullable = true)
... (생략)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment