Clears all cells in the worksheet.
(self)
| 2207 | return self.delete_dimension(Dimension.cols, start_index, end_index) |
| 2208 | |
| 2209 | def clear(self) -> JSONResponse: |
| 2210 | """Clears all cells in the worksheet.""" |
| 2211 | return self.client.values_clear( |
| 2212 | self.spreadsheet_id, absolute_range_name(self.title) |
| 2213 | ) |
| 2214 | |
| 2215 | def batch_clear(self, ranges: Sequence[str]) -> JSONResponse: |
| 2216 | """Clears multiple ranges of cells with 1 API call. |