<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - csv opens partially"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124511">124511</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>csv opens partially
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.1.5.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jacek.pliszka@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>gzip csv files generated in turns by pandas do not open correctly in
libreoffice:
Python code:

import pandas as pd

a=pd.DataFrame({'a': [1,2], 'b':[3,4]})

b=pd.DataFrame({'a': [3,4], 'b':[5,6]})

a.to_csv('a.csv.gz', compression='gzip', header=True, mode='w')

b.to_csv('a.csv.gz', compression='gzip', header=False, mode='a')

The output file a.csv.gz gunzips correctly and opens correctly in less but in
libre office only header and 2 first data rows appear when openning:


libreoffice a.csv.gz</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>