Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 20, 2021 11:43
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/248ea2a2800f5fc54513953275a39618 to your computer and use it in GitHub Desktop.
Save 1ambda/248ea2a2800f5fc54513953275a39618 to your computer and use it in GitHub Desktop.
// dfLower.select("id", "year_birth", "education", "income", "kidhome", "teenhome", "dt_customer").show()
+----+----------+----------+------+-------+--------+-----------+
| id|year_birth| education|income|kidhome|teenhome|dt_customer|
+----+----------+----------+------+-------+--------+-----------+
|5524| 1957|Graduation| 58138| 0| 0| 04-09-2012|
|2174| 1954|Graduation| 46344| 1| 1| 08-03-2014|
|4141| 1965|Graduation| 71613| 0| 0| 21-08-2013|
|6182| 1984|Graduation| 26646| 1| 0| 10-02-2014|
|5324| 1981| PhD| 58293| 1| 0| 19-01-2014|
|7446| 1967| Master| 62513| 0| 1| 09-09-2013|
| 965| 1971|Graduation| 55635| 0| 1| 13-11-2012|
|6177| 1985| PhD| 33454| 1| 0| 08-05-2013|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment