Comments (6)
The documentation provides an example on how it works
https://docs.rapids.ai/api/libcudf/stable/group__strings__replace#ga59aaccc6c1adc602454becd5c8755d84
Do you have a suggestion for the name? replace_multiple
?
from cudf.
To provide more context, in Cython when you have fused types, the number of arguments stays constant, so you can't have the situation like in C++, where you have an overload with one less argument or something like that.
from cudf.
Supporting this in libcudf never really made sense since it would be confusing to know where the max was applied.
Is it per target or per repl or both? Should there be a column of max values?
Also, I don't know when it would be used and no one has asked for the feature so I would likely mark this a "won't fix".
We could certainly change the name of the API if that helps.
from cudf.
That makes sense, I think I misunderstood what replace did.
Renaming this might help.
Personally, I always confuse this method as doing a vectorized replace, where there's a different target and replacement value for every string value in the column.
Maybe that's just me though.
from cudf.
Yep that sounds good to me.
from cudf.
Thanks!
from cudf.
Related Issues (20)
- [FEA] `drop_first` in `to_dummies` HOT 1
- [FEA] Expose stream-ordering to join APIs
- [BUG] [Java] CudfException on conversion of data between Arrow and Cudf HOT 10
- [BUG] Requested types ignored if prune_schema is enabled for JSON reading
- [BUG] `cudf::io::read_json` does not verify output column structures with the input schema
- [FEA] Global thread pool
- [FEA] dt.total_seconds HOT 1
- [FEA] Support datetime64[D] HOT 1
- [BUG] Could not find wheels HOT 4
- [FEA] Apply the RAII event wrapper wherever possible
- [FEA] Build conda packages for Polars GPU engine
- [FEA] Update Polars benchmarking repo for GPU engine configuration
- [FEA] Investigate the chunked parquet reader for Polars GPU engine
- [FEA] Polars engine CPU fallback for GPU out-of-memory errors
- [BUG] NDS-H data generator stalls after scale factor 150
- [FEA] Add remaining NDS-H queries
- [BUG] `cudf.DataFrame.ewm.mean` returns TypeError: Implicit conversion to a host NumPy array via __array__ is not allowed
- [FEA] Unified memory for Polars GPU Engine
- [BUG] mixed left_semi and left_anti produce incorrect results in 24.10
- [BUG] nunique with dropna=False returns incorrect results HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudf.