remove_duplicates方法

remove_duplicates

删除工作表中的重复行。

def remove_duplicates(self):
    ...

remove_duplicates

删除范围内的重复值。

def remove_duplicates(self, start_row, start_column, end_row, end_column):
    ...
范围类型描述
start_rowint起始行。
start_columnint起始栏
end_rowint结束行索引。
end_columnint结束列索引。

remove_duplicates

删除范围内的重复数据。

def remove_duplicates(self, start_row, start_column, end_row, end_column, has_headers, column_offsets):
    ...
范围类型描述
start_rowint起始行。
start_columnint起始栏
end_rowint结束行索引。
end_columnint结束列索引。
has_headersbool指示范围是否包含标题。
column_offsetslist列偏移。

也可以看看