Title: SEPARATING_LINE doesn't work with grid table formats · Issue #328 · astanin/python-tabulate · GitHub
Open Graph Title: SEPARATING_LINE doesn't work with grid table formats · Issue #328 · astanin/python-tabulate
X Title: SEPARATING_LINE doesn't work with grid table formats · Issue #328 · astanin/python-tabulate
Description: When using grid table formats to style a table, you get distorted results. For example, this script: import tabulate rows = [ ['foo', 'bar'], ['foo', 'bar'], tabulate.SEPARATING_LINE, ['foo', 'bar'], ['foo', 'bar'], ] print(tabulate.tabu...
Open Graph Description: When using grid table formats to style a table, you get distorted results. For example, this script: import tabulate rows = [ ['foo', 'bar'], ['foo', 'bar'], tabulate.SEPARATING_LINE, ['foo', 'bar'...
X Description: When using grid table formats to style a table, you get distorted results. For example, this script: import tabulate rows = [ ['foo', 'bar'], ['foo', 'bar'], tabulat...
Opengraph URL: https://github.com/astanin/python-tabulate/issues/328
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SEPARATING_LINE doesn't work with grid table formats","articleBody":"When using grid table formats to style a table, you get distorted results. \r\n\r\nFor example, this script:\r\n\r\n import tabulate\r\n \r\n rows = [\r\n ['foo', 'bar'],\r\n ['foo', 'bar'],\r\n tabulate.SEPARATING_LINE,\r\n ['foo', 'bar'],\r\n ['foo', 'bar'],\r\n ]\r\n \r\n print(tabulate.tabulate(rows, tablefmt='rounded_grid'))\r\n \r\nWhen using `rounded_grid`, it renders:\r\n\r\n ╭─────┬─────╮\r\n │ foo │ bar │\r\n ├─────┼─────┤\r\n │ foo │ bar │\r\n ├─────┼─────┤\r\n │ │\r\n ├─────┼─────┤\r\n │ foo │ bar │\r\n ├─────┼─────┤\r\n │ foo │ bar │\r\n ╰─────┴─────╯\r\n\r\nWhen using `grid`, it renders:\r\n\r\n +-----+-----+\r\n | foo | bar |\r\n +-----+-----+\r\n | foo | bar |\r\n +-----+-----+\r\n | |\r\n +-----+-----+\r\n | foo | bar |\r\n +-----+-----+\r\n | foo | bar |\r\n +-----+-----+\r\n \r\nWhen using the default non-grid format, it renders:\r\n\r\n --- ---\r\n foo bar\r\n foo bar\r\n --- ---\r\n foo bar\r\n foo bar\r\n --- ---\r\n\r\n\r\n","author":{"url":"https://github.com/lingrlongr","@type":"Person","name":"lingrlongr"},"datePublished":"2024-06-10T20:10:31Z","url":"https://github.com/astanin/python-tabulate/issues/328"}
| 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:128d30cb-1078-f49e-f2e9-256e189fe41e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E06E:1AC5AF:2C7E02:3E33B2:6AFF2612 |
| html-safe-nonce | 1d7cdf9f3b6f08868433576a53ee8bec908287ee80d0bca783a37074e1133e39 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDZFOjFBQzVBRjoyQzdFMDI6M0UzM0IyOjZBRkYyNjEyIiwidmlzaXRvcl9pZCI6IjMzMjU3NzkzNDg3NDAzMTg3MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b31f65ec98de63994ec632062bf7881d198fe129426a9f286d2bada38116ad3f |
| hovercard-subject-tag | issue:2344741648 |
| 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/328/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ea1cb272d1d241f4dcf445ba28148acff208db99aed45a30df8ce53d201625b5/astanin/python-tabulate/issues/328 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ea1cb272d1d241f4dcf445ba28148acff208db99aed45a30df8ce53d201625b5/astanin/python-tabulate/issues/328 |
| og:image:alt | When using grid table formats to style a table, you get distorted results. For example, this script: import tabulate rows = [ ['foo', 'bar'], ['foo', 'bar'], tabulate.SEPARATING_LINE, ['foo', 'bar'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lingrlongr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2ff2d37f6b6f9a9c91f18d54cf30d0d9e07d017eaab345cd5e6fb05715e02284 |
| 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 | 9bfe6f375bb68c197004966721f6e7a3a0843cf5 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width