Comments (3)
It appears the cudf.pandas bug is that _AtIndexer
(and _iAtIndexer
) indexer are not defined in _wrappers/pandas.py
as proxy objects.
And of course, it appears cudf.DataFrame.loc.__setitem__
that expands is also buggy
from cudf.
More investigation notes:
So cudf.DataFrame.at
is just returns cudf.DataFrame.loc
, so a pandas.DataFrame.at
call will always succeed to return cudf.pandas' intermediate proxy of pandas.DataFrame.loc
.
So if pandas.DataFrame.at.__setitem__
fails in cudf.pandas
, we rewind to pandas.DataFrame.loc.__setitem__
instead of pandas.DataFrame.at.__setitem__
.
I think we need pandas.DataFrame.at
to be an IntermediateProxy
of an IntermediateProxy
as "proper" fix. I'm not sure if there's an straightforward way to do this today.
Alternatively, if we make cudf.DataFrame.at
not map to cudf.DataFrame.loc
(i.e. return a different object with the same implementation), that would be an easier fix...
from cudf.
Alternatively, if we make
cudf.DataFrame.at
not map tocudf.DataFrame.loc
(i.e. return a different object with the same implementation), that would be an easier fix...
That sounds like the right thing to do. cudf's object model should mirror that of pandas. If at
returns loc
in cudf but not pandas, that's a problem in the mirrored object model.
from cudf.
Related Issues (20)
- [BUG] cudaErrorIllegalAddress while copying values to nullable string series HOT 1
- [FEA] Consider default nullability setting when converting cudf data to arrow C Data interface HOT 4
- [FEA] Enforce unsigned integer codes for cudf Python `CategoricalColumn`
- cudf::rank not passed enough parameters in list/struct rank benchmarks HOT 1
- [BUG] TDIGEST_MERGE group by aggregation scales very badly HOT 1
- [BUG] low memory json reader running into an `OverflowError` HOT 2
- [FEA] Allow to run groupby/reduction with externally derived aggregations HOT 1
- [BUG] `cudf.testing.assert_*_equal` raises AssertionError for equivalent `DecimalDtype`d objects HOT 3
- [FEA] Please expose `int2ip` as a public method
- [BUG] Series.duplicated doesn't preserve name HOT 1
- [FEA] Make cudftestutil a header-only package HOT 1
- [BUG] Intermittent bug decompressing files in the parquet reader in 24.08. HOT 3
- [BUG] Error with batched multi-source JSON read with >1 MB per row HOT 1
- [FEA][JNI] Move to RMM apis get_current_device_resource_ref and set_current_device_resource_ref HOT 1
- [FEA] Add libcudf cudf::get_current_device_resource() wrapper for rmm::get_current_device_resource() HOT 1
- [BUG] CUDF JNI build failed FindBoost HOT 4
- [BUG] DataFrame `to_arrow(preserve_index=True)` doesn't preserve index in edge case HOT 2
- [FEA] Support JNI build in rapids dev container HOT 2
- [FEA] Report all unsupported operations for a query in cudf-polars
- [BUG] UnicodeDecodeError: 'cp949' codec can't decode byte 0xf0 in position 2252: illegal multibyte sequence HOT 1
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.