結果 : how to partition a dataframe in python