Created
December 20, 2021 14:50
-
-
Save 1ambda/0cca64857b000e197d14533f4d89de0e 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
# repartition 함수를 통해 파티션 숫자를 1 -> 5 로 늘립니다. | |
dfPartitioned = dfConverted.repartition(5) | |
print(f"Partition Count of Dataframe dfPartitioned:\t{dfPartitioned.rdd.getNumPartitions()}") | |
Partition Count of Dataframe dfPartitioned: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment