Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 27, 2021 12:35
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/243491d9a7904a23c4a42a6054b78425 to your computer and use it in GitHub Desktop.
Save 1ambda/243491d9a7904a23c4a42a6054b78425 to your computer and use it in GitHub Desktop.
# dfSalesDec.orderBy(asc(col("date"))).show()
+----------+------------------+
| date|count_uniq_listing|
+----------+------------------+
|2019-12-01| 3001|
|2019-12-02| 2726|
|2019-12-03| 2670|
|2019-12-04| 2706|
|2019-12-05| 2951|
|2019-12-06| 3182|
|2019-12-07| 3238|
|2019-12-08| 2872|
|2019-12-09| 2691|
|2019-12-10| 2635|
|2019-12-11| 2607|
|2019-12-12| 2760|
|2019-12-13| 2906|
|2019-12-14| 2886|
|2019-12-15| 2645|
|2019-12-16| 2439|
|2019-12-17| 2362|
|2019-12-18| 2339|
|2019-12-19| 2403|
|2019-12-20| 2521|
+----------+------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment