Created
December 20, 2021 14:49
-
-
Save 1ambda/29432cc88fdf5169adacbad47ef8e3d8 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
print(f"Partition Count of Dataframe df:\t\t{df.rdd.getNumPartitions()}") | |
print(f"Partition Count of Dataframe dfSelected:\t{dfSelected.rdd.getNumPartitions()}") | |
print(f"Partition Count of Dataframe dfConverted:\t{dfConverted.rdd.getNumPartitions()}") | |
# 출력 결과 | |
Partition Count of Dataframe df: 1 | |
Partition Count of Dataframe dfSelected: 1 | |
Partition Count of Dataframe dfConverted: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment