- DataFrame.partition_by_hash(columns, nparts, keep_index=True)#
Partition the dataframe by the hashed value of data in columns.
- columnssequence of str
The names of the columns to be hashed. Must have at least one name.
Number of output partitions
Whether to keep the index or drop it
- partitioned: list of DataFrame