Skip to content

Question about optimizing cell merge #180

@winterfell2021

Description

@winterfell2021

Hi there, thanks for your great work! I got a large dataframe 30*10000 for example, and about 100 groups for each column to merge. Like

for i in range(30):
        column = n2a(i+1)
        for j in range(100000 // 100 - 1):
            worksheet.range(f"{column}{j*100 + 1}", f"{column}{(j+1)*100}").merge()

How can i speed up the merge function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions