Comments (2)
The print function also prints out the actual values for me, are they printed for you as well?
The first 2 can be explained with the calculation of the meta. From the docs:
The meta of the output array, when specified is expected to be an array of the same type and dtype of that returned when calling .compute() on the array returned by this function. When not provided, meta will be inferred by applying the function to a small set of fake data, usually a 0-d array. Itβs important to ensure that func can successfully complete computation without raising exceptions when 0-d is passed to it, providing meta will be required otherwise. If the output type is known beforehand (e.g., np.ndarray, cupy.ndarray), an empty array of such type dtype can be passed, for example: meta=np.array((), dtype=np.int32).
So you have to specify meta explicitly if you don't want that to happen
from dask.
Related Issues (20)
- dask.bag.Bag.to_dataframe behavior change in 2024.3.0 - setting dtype to string rather than object by default HOT 4
- TypeError: float() argument must be a string or a real number, not 'csr_matrix' HOT 1
- dask.dataframe.Series.reduction is not available when using query planning HOT 4
- Dask query planning string column unique bug HOT 2
- Dataframe constructed from single partition bag cannot be shuffled with query planning enabled HOT 2
- dask.dataframe.DataFrame.reduction fails on`split_every=False` if query planning is in effect HOT 1
- as of v2024.3.1, comparing a 1D dask.array.Array to a dask.dataframe.Series fails HOT 1
- value_counts with NaN sometimes raises ValueError: No objects to concatenate HOT 2
- .loc fails to select columns from boolean array (after dask-exp update)
- Minimal dd.to_datetime to convert a string column no longer works
- ``new_dd_object``'s array logic always assumes the metadata is ``numpy``
- `vindex` as outer indexer: memory and time performance
- Hash join transfer with error cannot pickle '_contextvars.ContextVar' object HOT 6
- `set_index` returns the divisions instead of the dataframe with query planning enabled
- Preserving divisions when reading/loading dataframes with structs containing multiple fields HOT 1
- Incorrect shape computation with getitem and structured numpy array
- Poor scheduling with `flox`, leading to high memory usage and eventual failure HOT 7
- Does not work with AWS - aiobotocore related error HOT 2
- Client() generate the error concurrent.futures._base.CancelledError: ('head-1-5-read-csv-19ebc21b0abac0313dd0e5004ea2fce7', 0) 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.