Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 20, 2021 11:41
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/2afc17c7c1a20e607d46a63eacea0f69 to your computer and use it in GitHub Desktop.
Save 1ambda/2afc17c7c1a20e607d46a63eacea0f69 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