Title: numpy.datetime64[ns] is wrongly formatted as float · Issue #251 · astanin/python-tabulate · GitHub
Open Graph Title: numpy.datetime64[ns] is wrongly formatted as float · Issue #251 · astanin/python-tabulate
X Title: numpy.datetime64[ns] is wrongly formatted as float · Issue #251 · astanin/python-tabulate
Description: To reproduce: import tabulate import numpy as np print(tabulate.tabulate([[ np.datetime64('2022-10-05', 'ns') ]])) Out: ----------- 1.66493e+18 -----------
Open Graph Description: To reproduce: import tabulate import numpy as np print(tabulate.tabulate([[ np.datetime64('2022-10-05', 'ns') ]])) Out: ----------- 1.66493e+18 -----------
X Description: To reproduce: import tabulate import numpy as np print(tabulate.tabulate([[ np.datetime64('2022-10-05', 'ns') ]])) Out: ----------- 1.66493e+18 -----------
Opengraph URL: https://github.com/astanin/python-tabulate/issues/251
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"numpy.datetime64[ns] is wrongly formatted as float","articleBody":"To reproduce:\r\n```py\r\nimport tabulate\r\nimport numpy as np\r\nprint(tabulate.tabulate([[ np.datetime64('2022-10-05', 'ns') ]]))\r\n```\r\n\r\nOut:\r\n```\r\n-----------\r\n1.66493e+18\r\n-----------\r\n```","author":{"url":"https://github.com/zhihanyue","@type":"Person","name":"zhihanyue"},"datePublished":"2023-02-17T06:24:06Z","url":"https://github.com/astanin/python-tabulate/issues/251"}
| 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:c727f436-d677-8712-3ccd-01c24a33888c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C322:32A98A:B1FC29:F2D610:6AFF42E7 |
| html-safe-nonce | 66b687c5b6f5d85e6835c3cd48ce564edfec25b7ad0485f0cee674c2be04c82a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzIyOjMyQTk4QTpCMUZDMjk6RjJENjEwOjZBRkY0MkU3IiwidmlzaXRvcl9pZCI6IjM0MTAxNjYzMzM1OTYxODk0MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c07bb2e558a8750fb174d3fb2df6d2e5a16b4a05aac979526cfd58dc2347add7 |
| hovercard-subject-tag | issue:1588817684 |
| 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/251/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac8d9555e0773d800191a2fc2e6493e6d704081ddf56353478f7b74f266e0e5d/astanin/python-tabulate/issues/251 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac8d9555e0773d800191a2fc2e6493e6d704081ddf56353478f7b74f266e0e5d/astanin/python-tabulate/issues/251 |
| og:image:alt | To reproduce: import tabulate import numpy as np print(tabulate.tabulate([[ np.datetime64('2022-10-05', 'ns') ]])) Out: ----------- 1.66493e+18 ----------- |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zhihanyue |
| hostname | github.com |
| expected-hostname | github.com |
| None | f8b2d3504728b977eef904ac11b7ccf890d15b9fcf803becc3cdc7bf46af99bd |
| 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 | d90de1784c9f993ceba8e551e35cc316865b9d79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width