Comments (3)
OK, definitely an issue. It appears that it thinks the shape of da.stack([x]) == (1, 1)
from dask.
Oh, perhaps it should be. The individual blocks presumably need to be expanded out along the new dimension.
from dask.
Fixed in #101
In [1]: import numpy as np
In [2]: import dask
In [3]: import dask.array as da
In [4]:
In [4]: da.set_options(get=dask.get)
Out[4]: <dask.context.set_options at 0x7f4bc9064ad0>
In [5]: x = da.from_array(np.array([1]), blockshape=(1,))
In [6]: da.stack([x]).transpose().compute()
Out[6]: array([[1]])
from dask.
Related Issues (20)
- pandas 2.2: changed behaviour in `test_multi.py::test_concat5` HOT 1
- SeriesGroupBy.agg does not accept `Aggregate` when paired with `'median'`
- ⚠️ Upstream CI failed ⚠️
- Tests for dummy data generation failing HOT 1
- pyright: "read_parquet" is not exported from module "dask.dataframe" HOT 1
- Moto 5 results in timeouts in s3 tests:
- ``test_tokenize_function_cloudpickle`` is very flaky
- applying tuple with pyarrow HOT 2
- max number of tasks per dask worker HOT 1
- gpuCI failing HOT 2
- Tokenization meta-issue HOT 3
- Deprecation warning is pretty intense HOT 10
- combine_first: conditional type-cast to rhs's dtype HOT 6
- Explode method does not work for object column with DatetimeInterval values HOT 4
- [DISCUSSION] What is the timeline for `dask.dataframe` deprecation HOT 8
- [DISCUSSION] How to deal with limited annotation support in `dask-expr` HOT 3
- pandas upstream package fails to install HOT 3
- Pandas read_sql vs dask read_sql issues
- assert_eq sometimes doesn't raise for differing string dtypes
- Issue repartitioning a time series by frequency when loaded from parquet file HOT 4
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.