Title: Implement our own specific function to display an array as string · Issue #280 · larray-project/larray · GitHub
Open Graph Title: Implement our own specific function to display an array as string · Issue #280 · larray-project/larray
X Title: Implement our own specific function to display an array as string · Issue #280 · larray-project/larray
Description: The problem is that we cannot pass arguments to print() >>> arr = ndtest((2, 3)) * 0.1 >>> arr a\b b0 b1 b2 a0 0.0 0.1 0.2 a1 0.30000000000000004 0.4 0.5 >>> show(arr, decimals=1) a\b b0 b1 b2 a0 0.0 0.1 0.2 a1 0.3 0.4 0.5 >>> round(arr,...
Open Graph Description: The problem is that we cannot pass arguments to print() >>> arr = ndtest((2, 3)) * 0.1 >>> arr a\b b0 b1 b2 a0 0.0 0.1 0.2 a1 0.30000000000000004 0.4 0.5 >>> show(arr, decimals=1) a\b b0 b1 b2 a0 0...
X Description: The problem is that we cannot pass arguments to print() >>> arr = ndtest((2, 3)) * 0.1 >>> arr a\b b0 b1 b2 a0 0.0 0.1 0.2 a1 0.30000000000000004 0.4 0.5 >>> show(arr, de...
Opengraph URL: https://github.com/larray-project/larray/issues/280
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement our own specific function to display an array as string","articleBody":"The problem is that we cannot pass arguments to print()\r\n\r\n```python\r\n>>> arr = ndtest((2, 3)) * 0.1\r\n>>> arr\r\na\\b b0 b1 b2\r\n a0 0.0 0.1 0.2\r\n a1 0.30000000000000004 0.4 0.5\r\n>>> show(arr, decimals=1)\r\na\\b b0 b1 b2\r\n a0 0.0 0.1 0.2\r\n a1 0.3 0.4 0.5\r\n>>> round(arr, 1)\r\na\\b b0 b1 b2\r\n a0 0.0 0.1 0.2\r\n a1 0.3 0.4 0.5\r\n```\r\n\r\nThis would complement #274 nicely by being able to set display settings temporarily (one shot)\r\n","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2017-05-24T15:33:01Z","url":"https://github.com/larray-project/larray/issues/280"}
| 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:192e3ec5-5ede-edae-65e2-aa7042497d03 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E092:102136:1B8A0D:250B3F:6B0020EE |
| html-safe-nonce | f5a884af1649113af22f879705d197b875386376b9055377f4df6727fb966d8c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDkyOjEwMjEzNjoxQjhBMEQ6MjUwQjNGOjZCMDAyMEVFIiwidmlzaXRvcl9pZCI6IjE3MTk0Nzc4NjY1NTIzNjkzOTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 938eb25297ca95be5cd52762a0ee03f43dd815fa73ff282ce9a9f513454a02eb |
| hovercard-subject-tag | issue:231081713 |
| 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/larray-project/larray/280/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2853992ad80e3ecf1f71233de7ca4dd7fcaaf07bfb49d480024c1b9378cabff5/larray-project/larray/issues/280 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2853992ad80e3ecf1f71233de7ca4dd7fcaaf07bfb49d480024c1b9378cabff5/larray-project/larray/issues/280 |
| og:image:alt | The problem is that we cannot pass arguments to print() >>> arr = ndtest((2, 3)) * 0.1 >>> arr a\b b0 b1 b2 a0 0.0 0.1 0.2 a1 0.30000000000000004 0.4 0.5 >>> show(arr, decimals=1) a\b b0 b1 b2 a0 0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray git https://github.com/larray-project/larray.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 16981067 |
| octolytics-dimension-repository_nwo | larray-project/larray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16981067 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width