Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 23, 2021 23:19
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/966e34e0000679b715ad8c32dffdb96e to your computer and use it in GitHub Desktop.
Save 1ambda/966e34e0000679b715ad8c32dffdb96e to your computer and use it in GitHub Desktop.
#dfListingParquet.rdd.getNumPartitions()
1
# dfListingParquet.printSchema()
root
|-- listing_id: integer (nullable = true)
|-- listing_url: string (nullable = true)
|-- listing_name: string (nullable = true)
|-- listing_summary: string (nullable = true)
|-- listing_desc: string (nullable = true)
# dfListingParquet.count()
7705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment