{"action":"created","issue":{"url":"https://api.github.com/repos/jmcnamara/XlsxWriter/issues/405","repository_url":"https://api.github.com/repos/jmcnamara/XlsxWriter","labels_url":"https://api.github.com/repos/jmcnamara/XlsxWriter/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/jmcnamara/XlsxWriter/issues/405/comments","events_url":"https://api.github.com/repos/jmcnamara/XlsxWriter/issues/405/events","html_url":"https://github.com/jmcnamara/XlsxWriter/issues/405","id":197507555,"number":405,"title":"Header Row Inserted Even When Turned Off","user":{"login":"dieherna","id":24765431,"avatar_url":"https://avatars.githubusercontent.com/u/24765431?v=3","gravatar_id":"","url":"https://api.github.com/users/dieherna","html_url":"https://github.com/dieherna","followers_url":"https://api.github.com/users/dieherna/followers","following_url":"https://api.github.com/users/dieherna/following{/other_user}","gists_url":"https://api.github.com/users/dieherna/gists{/gist_id}","starred_url":"https://api.github.com/users/dieherna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieherna/subscriptions","organizations_url":"https://api.github.com/users/dieherna/orgs","repos_url":"https://api.github.com/users/dieherna/repos","events_url":"https://api.github.com/users/dieherna/events{/privacy}","received_events_url":"https://api.github.com/users/dieherna/received_events","type":"User","site_admin":false},"labels":[{"id":23779648,"url":"https://api.github.com/repos/jmcnamara/XlsxWriter/labels/bug","name":"bug","color":"fc2929","default":true},{"id":191299581,"url":"https://api.github.com/repos/jmcnamara/XlsxWriter/labels/short%20term","name":"short term","color":"009800","default":false}],"state":"open","locked":false,"assignee":{"login":"jmcnamara","id":94267,"avatar_url":"https://avatars.githubusercontent.com/u/94267?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcnamara","html_url":"https://github.com/jmcnamara","followers_url":"https://api.github.com/users/jmcnamara/followers","following_url":"https://api.github.com/users/jmcnamara/following{/other_user}","gists_url":"https://api.github.com/users/jmcnamara/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcnamara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcnamara/subscriptions","organizations_url":"https://api.github.com/users/jmcnamara/orgs","repos_url":"https://api.github.com/users/jmcnamara/repos","events_url":"https://api.github.com/users/jmcnamara/events{/privacy}","received_events_url":"https://api.github.com/users/jmcnamara/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmcnamara","id":94267,"avatar_url":"https://avatars.githubusercontent.com/u/94267?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcnamara","html_url":"https://github.com/jmcnamara","followers_url":"https://api.github.com/users/jmcnamara/followers","following_url":"https://api.github.com/users/jmcnamara/following{/other_user}","gists_url":"https://api.github.com/users/jmcnamara/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcnamara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcnamara/subscriptions","organizations_url":"https://api.github.com/users/jmcnamara/orgs","repos_url":"https://api.github.com/users/jmcnamara/repos","events_url":"https://api.github.com/users/jmcnamara/events{/privacy}","received_events_url":"https://api.github.com/users/jmcnamara/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-25T16:32:10Z","updated_at":"2016-12-25T20:17:27Z","closed_at":null,"body":"When creating a table with the header_row set to \"False\", a header row with empty data is inserted into the table. This causes the table to exclude the last row in the input data as the table range has been exceeded.\r\n\r\nIssue seen in xlsxwriter-0.9.4 & xlsxwriter-0.9.5.\r\n\r\nSample Code:\r\n\r\n```python\r\nimport xlsxwriter\r\n\r\nworkbook = xlsxwriter.Workbook(\"test.xlsx\")\r\nsheet = workbook.add_worksheet()\r\ndata = [[\"apple\", \"pie\"], [\"pine\", \"tree\"]]\r\n\r\nsheet.add_table(\"B2:C3\", {\"data\": data, \"header_row\": False})\r\n\r\nworkbook.close()\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jmcnamara/XlsxWriter/issues/comments/269135980","html_url":"https://github.com/jmcnamara/XlsxWriter/issues/405#issuecomment-269135980","issue_url":"https://api.github.com/repos/jmcnamara/XlsxWriter/issues/405","id":269135980,"user":{"login":"jmcnamara","id":94267,"avatar_url":"https://avatars.githubusercontent.com/u/94267?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcnamara","html_url":"https://github.com/jmcnamara","followers_url":"https://api.github.com/users/jmcnamara/followers","following_url":"https://api.github.com/users/jmcnamara/following{/other_user}","gists_url":"https://api.github.com/users/jmcnamara/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcnamara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcnamara/subscriptions","organizations_url":"https://api.github.com/users/jmcnamara/orgs","repos_url":"https://api.github.com/users/jmcnamara/repos","events_url":"https://api.github.com/users/jmcnamara/events{/privacy}","received_events_url":"https://api.github.com/users/jmcnamara/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T20:17:27Z","updated_at":"2016-12-25T20:17:27Z","body":"Hi @dieherna,\r\n\r\nI've pushed a fix for his to the master branch.\r\n\r\nRegards,\r\n\r\nJohn"}}
{"actor":{"display_login":"jmcnamara"}}