Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 디렉토리 내의 분할된 모든 JSON 파일을 다 읽습니다.
dfListingJson = spark.read.format("json").load("./airbnb_listings")
dfListingJson.count()
dfListingJson.rdd.getNumPartitions()
dfListingJson.printSchema(truncate=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment