Title: Short headers silently drop columns from ragged tables · Issue #494 · astanin/python-tabulate · GitHub
Open Graph Title: Short headers silently drop columns from ragged tables · Issue #494 · astanin/python-tabulate
X Title: Short headers silently drop columns from ragged tables · Issue #494 · astanin/python-tabulate
Description: On current master (268615a5), adding a header silently hides columns that occur after a short first data row: from tabulate import tabulate print(tabulate([["a"], ["b", "KEEP"]], headers=["tail"])) KEEP is missing; without headers it is ...
Open Graph Description: On current master (268615a5), adding a header silently hides columns that occur after a short first data row: from tabulate import tabulate print(tabulate([["a"], ["b", "KEEP"]], headers=["tail"]))...
X Description: On current master (268615a5), adding a header silently hides columns that occur after a short first data row: from tabulate import tabulate print(tabulate([["a"], ["b", "KE...
Opengraph URL: https://github.com/astanin/python-tabulate/issues/494
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Short headers silently drop columns from ragged tables","articleBody":"On current master (`268615a5`), adding a header silently hides columns that occur after a short first data row:\n\n```python\nfrom tabulate import tabulate\nprint(tabulate([[\"a\"], [\"b\", \"KEEP\"]], headers=[\"tail\"]))\n```\n\n`KEEP` is missing; without headers it is retained. This also affects `headers=\"firstrow\"` and column-index headers. No `maxcolwidths` is needed, so #482 leaves this case unchanged.\n\nI have a fix with 28 regression/control cases. The configured suites pass on Python 3.11 and 3.14. Would you be willing to pay $50 for the tested fix, regression tests, and documentation update?\n\nDima Mak / ub3dqy\n\n","author":{"url":"https://github.com/ub3dqy","@type":"Person","name":"ub3dqy"},"datePublished":"2026-11-02T18:40:00Z","url":"https://github.com/astanin/python-tabulate/issues/494"}
| 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:e0878376-0fac-a206-78b4-e91eacd99685 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B346:375B3C:BD2738:1082113:6AFF4C57 |
| html-safe-nonce | 4aa98abc256527da6c713fcdae764f68e09edba7d87ab4c3c05dbec32d77bf60 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzQ2OjM3NUIzQzpCRDI3Mzg6MTA4MjExMzo2QUZGNEM1NyIsInZpc2l0b3JfaWQiOiIyMzk5NDk0MjYxNzk2OTgxODQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d8cd8ccac9d23914174dcad0cdc07f04e4b50041fd3fedd79773f5e9befc90c4 |
| hovercard-subject-tag | issue:6168719899 |
| 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/astanin/python-tabulate/494/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1176c9782f20fca7f1d824e21bcd07d7e3df182f68c52be33e841e8f494b0844/astanin/python-tabulate/issues/494 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1176c9782f20fca7f1d824e21bcd07d7e3df182f68c52be33e841e8f494b0844/astanin/python-tabulate/issues/494 |
| og:image:alt | On current master (268615a5), adding a header silently hides columns that occur after a short first data row: from tabulate import tabulate print(tabulate([["a"], ["b", "KEEP"]], headers=["tail"]))... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ub3dqy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6672a281260b126053da5da19a6127ba7804ee26f255c9b12ad124a822a55cd0 |
| turbo-cache-control | no-preview |
| go-import | github.com/astanin/python-tabulate git https://github.com/astanin/python-tabulate.git |
| octolytics-dimension-user_id | 71802 |
| octolytics-dimension-user_login | astanin |
| octolytics-dimension-repository_id | 205875548 |
| octolytics-dimension-repository_nwo | astanin/python-tabulate |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205875548 |
| octolytics-dimension-repository_network_root_nwo | astanin/python-tabulate |
| 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 | 28805d6cf6280f5e10f2a6624504c872d9633a0f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width