Title: Add possibility to add fill values on arithmetic operations · Issue #191 · PolyMathOrg/DataFrame · GitHub
Open Graph Title: Add possibility to add fill values on arithmetic operations · Issue #191 · PolyMathOrg/DataFrame
X Title: Add possibility to add fill values on arithmetic operations · Issue #191 · PolyMathOrg/DataFrame
Description: It is possible to do operations such as divide between 2 DataSeries. In the case of a DataSerie containing nils, we consider that the return of the operation should be nil. | a b c | a := #( 2 4 nil ) asDataSeries. b := #( 1 nil 3 ) asDa...
Open Graph Description: It is possible to do operations such as divide between 2 DataSeries. In the case of a DataSerie containing nils, we consider that the return of the operation should be nil. | a b c | a := #( 2 4 ni...
X Description: It is possible to do operations such as divide between 2 DataSeries. In the case of a DataSerie containing nils, we consider that the return of the operation should be nil. | a b c | a := #( 2 4 ni...
Opengraph URL: https://github.com/PolyMathOrg/DataFrame/issues/191
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add possibility to add fill values on arithmetic operations","articleBody":"It is possible to do operations such as divide between 2 DataSeries. In the case of a DataSerie containing nils, we consider that the return of the operation should be nil. \r\n\r\n```st\r\n\t| a b c |\r\n\ta := #( 2 4 nil ) asDataSeries.\r\n\tb := #( 1 nil 3 ) asDataSeries.\r\n\tc := #( 2 nil nil ) asDataSeries.\r\n```\r\n\r\nIn some case the user might want to give a fill value instead of using nil. I propose that we add methods like #divide:fillValue: or #add:fillValue: that would use the fillValue in case we have a nil.\r\n\r\nfillValue: nil or float value, default nil\r\n\r\nFill existing missing (nil) values, and any new element needed for successful Series alignment, with this value before computation. If data in both corresponding Series locations is missing the result of filling (at that location) will be missing.\r\n","author":{"url":"https://github.com/jecisc","@type":"Person","name":"jecisc"},"datePublished":"2023-03-15T10:41:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/191/DataFrame/issues/191"}
| 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:dda81115-1688-3d7e-3ce4-78bf10c503e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1A2:5E790:21A98DB:2B1FD22:697FCFFA |
| html-safe-nonce | 11b45432c9459b63012ca9a08f602812e926598019612eac13b1687a14d2c50a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUEyOjVFNzkwOjIxQTk4REI6MkIxRkQyMjo2OTdGQ0ZGQSIsInZpc2l0b3JfaWQiOiIzMjQxODg5MzMwMjMwMTg1OTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 136c2c67c4a1c0f9440d7d4168bbae3b41aae81292d4257b9f238d724a96471d |
| hovercard-subject-tag | issue:1625254924 |
| 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/PolyMathOrg/DataFrame/191/issue_layout |
| twitter:image | https://opengraph.githubassets.com/445722fc416f927b1759dc2c174462f1e03167ed307e749f48a4fa7a8d760ea4/PolyMathOrg/DataFrame/issues/191 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/445722fc416f927b1759dc2c174462f1e03167ed307e749f48a4fa7a8d760ea4/PolyMathOrg/DataFrame/issues/191 |
| og:image:alt | It is possible to do operations such as divide between 2 DataSeries. In the case of a DataSerie containing nils, we consider that the return of the operation should be nil. | a b c | a := #( 2 4 ni... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jecisc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/PolyMathOrg/DataFrame git https://github.com/PolyMathOrg/DataFrame.git |
| octolytics-dimension-user_id | 17797985 |
| octolytics-dimension-user_login | PolyMathOrg |
| octolytics-dimension-repository_id | 90879489 |
| octolytics-dimension-repository_nwo | PolyMathOrg/DataFrame |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 90879489 |
| octolytics-dimension-repository_network_root_nwo | PolyMathOrg/DataFrame |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width