title: Exporting CSV shows ImportError: cannot import name 'CompressionOptions' from 'pandas._typing'
body: <p>When attempting to export to CSV the error below arises:</p>
  <p>-I've tried updating pandas and then reverting to an older version with no luck.</p>
  <pre><code>~\Anaconda4\lib\site-packages\pandas\core\generic.py in to_csv(self, path_or_buf, sep, na_rep, float_format, columns, header, index, index_label, mode, encoding, compression, quoting, quotechar, line_terminator, chunksize, date_format, doublequote, escapechar, decimal, errors)
     3143         Examples
     3144         --------
  -&gt; 3145         &gt;&gt;&gt; df = pd.DataFrame(dict(name=['Raphael', 'Donatello'],
     3146         ...                   mask=['red', 'purple'],
     3147         ...                   weapon=['sai', 'bo staff']))
  
  ~\Anaconda4\lib\site-packages\pandas\io\formats\csvs.py in &lt;module&gt;
       10 
       11 from pandas._libs import writers as libwriters
  ---&gt; 12 from pandas._typing import (
       13     CompressionOptions,
       14     FilePathOrBuffer,
  
  ImportError: cannot import name 'CompressionOptions' from 'pandas._typing' (C:\Users\Bob\Anaconda4\lib\site-packages\pandas\_typing.py)
  </code></pre>