Title: The DeleteRow function results in the deletion of every other row when iterating through a ListFeed in a spreadsheet using python gdata in New Google Spreadsheets · Issue #2 · google/gdata-python-client · GitHub
Open Graph Title: The DeleteRow function results in the deletion of every other row when iterating through a ListFeed in a spreadsheet using python gdata in New Google Spreadsheets · Issue #2 · google/gdata-python-client
X Title: The DeleteRow function results in the deletion of every other row when iterating through a ListFeed in a spreadsheet using python gdata in New Google Spreadsheets · Issue #2 · google/gdata-python-client
Description: I am having a problem using the DeleteRow function in New Google Spreadsheets. I have prepared a NEW google spreadsheet and entered multiple rows of data into the worksheet. For example, I put the following in column A, each on its own r...
Open Graph Description: I am having a problem using the DeleteRow function in New Google Spreadsheets. I have prepared a NEW google spreadsheet and entered multiple rows of data into the worksheet. For example, I put the ...
X Description: I am having a problem using the DeleteRow function in New Google Spreadsheets. I have prepared a NEW google spreadsheet and entered multiple rows of data into the worksheet. For example, I put the ...
Opengraph URL: https://github.com/google/gdata-python-client/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The DeleteRow function results in the deletion of every other row when iterating through a ListFeed in a spreadsheet using python gdata in New Google Spreadsheets","articleBody":"I am having a problem using the DeleteRow function in New Google Spreadsheets.\n\nI have prepared a _NEW_ google spreadsheet and entered multiple rows of data into the worksheet. For example, I put the following in column A, each on its own row: ID, 1,2,3,4,5,6,7,8,9,10,11,12 \n\nThen I perform deleterow() in a loop over a ListFeed as follows:\n\nimport gdata.spreadsheet.service \nimport gdata.service\n\nss_key = “google spreadsheet key\";\n\ngd_client = gdata.spreadsheet.service.SpreadsheetsService();\n\n...\ngd_client.ProgrammaticLogin();\n\nfeed = gd_client.GetWorksheetsFeed(ss_key);\nworksheetID = feed.entry[int(feed.total_results.text)-1].id.text.rsplit('/', 1)[1] \nlistFeed = gd_client.GetListFeed(ss_key, worksheetID);\n\nfor row in listFeed.entry:\n gd_client.DeleteRow(row)\n\nThe expected output would be for the rows except the header to be deleted. What I see is that rows 2,4,6,8,10 and 12 remain. If I run it again, rows 4,8,12 remain. It is deleting every other row.\n\nI am using gdata 2.0.18 and new google spreadsheets\n\nThis approach continues to work the old google spreadsheets. It does not work with the new google spreadsheets.\n","author":{"url":"https://github.com/ksiadmin","@type":"Person","name":"ksiadmin"},"datePublished":"2015-01-20T22:09:10Z","url":"https://github.com/google/gdata-python-client/issues/2"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dd3de388-2f9d-473d-649e-2a7f258879dd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF8A:2C3566:1342351:196F604:6B011AAD |
| html-safe-nonce | 6653cce419aaf54dda5f590df8954c00f9e3491a09f3db185c260df72bf40194 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjhBOjJDMzU2NjoxMzQyMzUxOjE5NkY2MDQ6NkIwMTFBQUQiLCJ2aXNpdG9yX2lkIjoiMTg2ODYyMDcyMTg3MDE1MDMxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6218171f7ad7bbce17fc959aa22650660979f5b0186fbf4bba34bf6c1891a5f2 |
| hovercard-subject-tag | issue:54947572 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/google/gdata-python-client/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b28d9ca7d9455c7564d573901de97aef1970729c40aa300955a3815ff8da3f01/google/gdata-python-client/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b28d9ca7d9455c7564d573901de97aef1970729c40aa300955a3815ff8da3f01/google/gdata-python-client/issues/2 |
| og:image:alt | I am having a problem using the DeleteRow function in New Google Spreadsheets. I have prepared a NEW google spreadsheet and entered multiple rows of data into the worksheet. For example, I put the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ksiadmin |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/google/gdata-python-client git https://github.com/google/gdata-python-client.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 28202851 |
| octolytics-dimension-repository_nwo | google/gdata-python-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 28202851 |
| octolytics-dimension-repository_network_root_nwo | google/gdata-python-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width