Created
December 25, 2021 07:36
-
-
Save 1ambda/cbd23cd6f36e1d8b783dd520c0569951 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dfCalendar.printSchema() | |
root | |
|-- listing_id: integer (nullable = true) | |
|-- date: string (nullable = true) | |
|-- available: string (nullable = true) | |
|-- price: string (nullable = true) | |
|-- adjusted_price: string (nullable = true) | |
|-- minimum_nights: integer (nullable = true) | |
|-- maximum_nights: integer (nullable = true) | |
dfCalendar.show() | |
+----------+----------+---------+-------+--------------+--------------+--------------+ | |
|listing_id| date|available| price|adjusted_price|minimum_nights|maximum_nights| | |
+----------+----------+---------+-------+--------------+--------------+--------------+ | |
| 1153002|2019-11-29| f|$145.00| $145.00| 30| 60| | |
| 3138055|2019-11-29| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-11-30| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-01| t|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-02| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-03| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-04| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-05| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-06| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-07| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-08| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-09| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-10| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-11| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-12| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-13| t|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-14| t|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-15| t|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-16| f|$130.00| $130.00| 2| 1125| | |
| 3138055|2019-12-17| f|$130.00| $130.00| 2| 1125| | |
+----------+----------+---------+-------+--------------+--------------+--------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment