Complete the code to increase the number of partitions of the DataFrame.
df_repartitioned = df.[1](10)
Use repartition to increase or change the number of partitions.
Complete the code to reduce the number of partitions without a full shuffle.
df_coalesced = df.[1](5)
coalesce reduces partitions efficiently without a full shuffle.
Fix the error in the code to repartition the DataFrame by a column.
df_partitioned = df.[1]('category')
Use repartition with a column name to shuffle and repartition by that column.
Fill both blanks to create a DataFrame with fewer partitions using the efficient method.
df_small = df.[1]([2])
coalesce(5) reduces partitions to 5 efficiently without shuffle.
Fill all three blanks to create a dictionary mapping words to their lengths for words longer than 3 letters.
word_counts = {word: [1] for word in words if len(word) [2] 3 and word [3] stop_words}This dictionary comprehension maps words to their lengths for words longer than 3 letters and not in stop_words.