Feature Request: Non-casting binops
See original GitHub issuePresently, all column types that get a .mul(2)
command are casted to Float64
. This is not completely desirable. It is preferable that a type be retained unless it must be upcast, such as for overflow or int.mul(float)
. I’m pretty sure this is all supported by libcudf
.
rapids@tcomer-NVIDIA:~/node/modules/demo/api-server$ node
Welcome to Node.js v18.2.0.
Type ".help" for more information.
> const {Series, Int32, Int64, Float32, Float64} = require('@rapidsai/cudf')
undefined
> let a = Series.new([0, 1]).cast(new Int32)
undefined
> let b = Series.new([0, 1]).cast(new Int64)
undefined
> a.mul(2).type
Float64 [Float] { precision: 2 }
> b.mul(2).type
Float64 [Float] { precision: 2 }
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Feature Requests: What are they and how to manage them
Feature requests are a form of product feedback you may frequently encounter as a SaaS product manager. They typically come in the form...
Read more >Feature requests - OneCalendar
Feature requests. Missing a feature ? Please post a feature request using the links below (if it is not already there) and vote...
Read more >What Is a Feature Request? Definition and Examples - Airfocus
A feature request is a comment, message, or ask from a user to implement a specific feature into your product. Feature requests can...
Read more >7 Useful Tips to Manage Feature Requests - Craft.io
Feature requests can provide product managers with great ideas for product improvement, but they must be managed correctly. Here are our top tips....
Read more >Increase your chances of a successful feature request
Feature requests by and large are submitted via ticket systems and a gatekeeper replies before consulting with product management as he or she...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess I’ll close this? 😃
Yes all the binary ops already accept scalars as inputs.