Not sure if you found out or not, but to speed up the cleaning of your current data, try using a batch request . For example, to clear every single cell in a worksheet, you can do:
cells = client.GetCellsFeed(key, wks_id) batch_request = gdata.spreadsheet.SpreadsheetsCellsFeed()
If you want to do things like save column headers (assuming they are on the first row), you can use CellQuery:
# Set up a query that starts at row 2 query = gdata.spreadsheet.service.CellQuery() query.min_row = '2'
Alternatively, you can use this to update your cells (perhaps more according to what you want). A link to the documentation provides a basic way to do this, which (copied from documents if the link changes):
import gdata.spreadsheet import gdata.spreadsheet.service client = gdata.spreadsheet.service.SpreadsheetsService()
source share