Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Merged cells treated differently in .ods and .xls files #193

@pedrohasantiago

Description

@pedrohasantiago

I'm using the get_data() function from pyexcel_xls and pyexcel_odsr with .xls and .ods tables similar to this:

One Two Three Four
One Two and three Four

pyexcel_xls.get_data() reads the table as follows, with an empty string in the second row:

[['One', 'Two', 'Three', 'Four']
['One', 'Two and three', '', 'Four']]

On the other hand, pyexcel_ods.get_data() reads the table as follows, with no empty string:

[['One', 'Two', 'Three', 'Four']
['One', 'Two and three', 'Four']]

ie, there is no way to acknowledge the existence of a merged cell in the second row.

Is there any way to make both libraries behave the same way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions