Contenido del Curso
Excel Automation with Python
Filters
auto_filter()
is a method provided by the openpyxl library in Python that allows you to create a filter on a range of cells in a worksheet. The auto_filter.ref()
method takes parameters specifying the starting and ending cells of the range and the criteria for the filter, such as a range of values or a text string.
Now, you know how to specifie the area where the filter should be applied.
Tarea
- Define a filter from cell
"A1"
to"0100"
; - Save the
workbook
.
Tarea
- Define a filter from cell
"A1"
to"0100"
; - Save the
workbook
.
¿Todo estuvo claro?
auto_filter()
is a method provided by the openpyxl library in Python that allows you to create a filter on a range of cells in a worksheet. The auto_filter.ref()
method takes parameters specifying the starting and ending cells of the range and the criteria for the filter, such as a range of values or a text string.
Now, you know how to specifie the area where the filter should be applied.
Tarea
- Define a filter from cell
"A1"
to"0100"
; - Save the
workbook
.