Comments (4)
Thanks for the report, put up a PR to fix. I wouldn't expect this to work consistently in pandas though, sets aren't officially supported
from dask.
Is this why dask moved away from pd.api.types.is_list_like(columns)
? Because the pandas docs say list-like
for the columns kwarg, so i cant imagine they aren't using this fn under the hood for type checking
from dask.
This doesn't completely work with cudf IIUC, cc @rjzamora
from dask.
This doesn't completely work with cudf IIUC
I believe cudf's drop(columns=...)
will accept anything blessed by pd.api.types.is_list_like
, but there may be corner cases. That said, from a maintenance perspective, I'd definitely prefer if list
was the only type allowed :)
from dask.
Related Issues (20)
- cannot access local variable 'divisions' where it is not associated with a value
- Bump mindeps for pyarrow and numpy HOT 3
- read_sql_table would throw an exception when calling for unique values of a column
- `map_blocks()` with `new_axis` output has incorrect shape HOT 3
- order: Run ordering test on distributed cluster and compare against local ordering
- gpuCI failing HOT 3
- An inconsistency between the documentation of `dask.array.percentile` and code implementation HOT 2
- Suggesting updates on the doc of `dask.dataframe.read_sql_query` HOT 2
- Improve how normalize_chunks selects chunk sizes if auto is given HOT 2
- Better chunk size value for chunks=auto setting
- Bug: Can't perform a (meaningful) "outer" concatenation with dask-expr on `axis=1` HOT 1
- Weird RecursionError during `tokenize` HOT 5
- KilledWorker (exceeded 95% memory budget) with new optimizer HOT 5
- map_overlap passes wrong block_info[:]['array-location'] HOT 1
- Deprecate legacy DataFrame implementation HOT 1
- Parquet read with `filesystem="arrow"` fails when `distributed` isn't imported first HOT 2
- Futures not always resolved when using dataframe.reduction
- Add option to automatically compute chunk sizes in dask HOT 4
- zipfile.BadZipFile: Overlapped entries (possible zip bomb) HOT 1
- order: not optimal scheduling for patterns where we slice subsets into 2 different datasets and then combine them again 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 dask.