https://bugs.documentfoundation.org/show_bug.cgi?id=124511

            Bug ID: 124511
           Summary: csv opens partially
           Product: LibreOffice
           Version: 6.1.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to