并不是add_table之后的单元格中的所有字符

时间:2016-10-13 10:52:23

标签: excel python-2.7 xlsxwriter

嗨,我有一个包含27502个字符的字符串。但是,如果我通过ws.add_table传递mto xlsxwriter工作表只是10996编写我调试,我想出来,直到这里字符串是好的。但我不知道如何继续调试。

也许xlsxwriter包有限制。但我不知道。

        # Write a shared string or an in-line string in optimisation mode.
    if self.optimization == 0:
        string_index = self.str_table._get_shared_string_index(string)
    else:
        string_index = string

    # Write previous row if in in-line string optimization mode.
    if self.optimization and row > self.previous_row:
        self._write_single_row(row)

    # Store the cell data in the worksheet data table.
    self.table[row][col] = cell_string_tuple(string_index, cell_format)

    return str_error

修改

经过更详细的测试后,它接近这是一个excel(2007)的限制。但不是char限制。它接缝有一个新的线路限制。

我没有找到excel 2007的官方数据,但我尝试了它并找出了254行是限制。

0 个答案:

没有答案