title: Pandas to_parquet fails with gzip
body: <p>I have a question regarding pandas <code> pd.to_parquet</code> function with the <code>compression = 'gzip'</code> option. Files created with this option are not recognized by  gzip utility.
  I'm running AWSs ec2 instance with  Deep Learning Base AMI (Ubuntu 18.04) Version 53
  python 3.6.9, pandas 1.1.5.</p>
  <p>A file saved with</p>
  <pre class="lang-py prettyprint-override"><code>df.to_parquet(path,  engine='pyarrow', compression='gzip')
  </code></pre>
  <p>has the size 6159 bytes.</p>
  <p><code>gzip -dv</code> throws an error &quot; not in gzip format&quot;</p>
  <p>If I used gzip on the file saved without compression, i.e. first run</p>
  <pre class="lang-py prettyprint-override"><code>df.to_parquet(path,  engine='pyarrow', compression=None)
  </code></pre>
  <p>and then gzip the .parquet file, the resulting .parquet.gz file has the size of 1511 bytes, and, needless to say, <code>gzip -dv</code> works just fine and restores the file.</p>
  <p>I tried to google it, but came up with nothing.
  Any help is appreciated</p>