title: How to write a partitioned Parquet file using Pandas
body: <p>I'm trying to write a Pandas dataframe to a partitioned file:</p>
  
  <pre><code>df.to_parquet('output.parquet', engine='pyarrow', partition_cols = ['partone', 'partwo'])
  
  TypeError: __cinit__() got an unexpected keyword argument 'partition_cols'
  </code></pre>
  
  <p>From the documentation I expected that the <code>partition_cols</code> would be passed as a kwargs to the pyarrow library. How can a partitioned file be written to local disk using pandas?</p>