Skip to content Skip to sidebar Skip to footer
Showing posts with the label Dask

Repeated Task Execution Using The Distributed Dask Scheduler

I'm using the Dask distributed scheduler, running a scheduler and 5 workers locally. I submit … Read more Repeated Task Execution Using The Distributed Dask Scheduler

Slow Len Function On Dask Distributed Dataframe

I have been testing how to use dask (cluster with 20 cores) and I am surprised by the speed that I … Read more Slow Len Function On Dask Distributed Dataframe

Unpacking Result Of Delayed Function

While converting my program using delayed, I stumbled upon a commonly used programming pattern that… Read more Unpacking Result Of Delayed Function

Reading Csv With Separator In Python Dask

I am trying to create a DataFrame by reading a csv file separated by '#####' 5 hashes The … Read more Reading Csv With Separator In Python Dask

Dask Distributed Getting Futures After Client Closed

Is there anyway to prevent dask/distributed from cancelling queued & executing futures when the… Read more Dask Distributed Getting Futures After Client Closed

Python Futures And Tuple Unpacking

What is an elagant/idiomatic way to achieve something like tuple unpacking with futures? I have cod… Read more Python Futures And Tuple Unpacking

Load Images Into A Dask Dataframe

I have a dask dataframe which contains image paths in a column (called img_paths). What I want to d… Read more Load Images Into A Dask Dataframe

Dask Dataframe Nunique Operation: Worker Running Out Of Memory (mre)

tl;dr I want to dd.read_parquet('*.parq')['column'].nunique().compute() but I get … Read more Dask Dataframe Nunique Operation: Worker Running Out Of Memory (mre)

What Is The Way To Add An Index Column In Dask When Reading From A Csv?

I'm trying to process a fairly large dataset that doesn't fit into memory using Pandas when… Read more What Is The Way To Add An Index Column In Dask When Reading From A Csv?

Dask With Htcondor Scheduler

Background I have an image analysis pipeline with parallelised steps. The pipeline is in python and… Read more Dask With Htcondor Scheduler

Including Keyword Arguments (kwargs) In Custom Dask Graphs

Am building a custom graph for one operation with Dask. Am familiar with how to pass arguments to a… Read more Including Keyword Arguments (kwargs) In Custom Dask Graphs

Dask-distributed. How To Get Task Key Id In The Function Being Calculated?

My computations with dask.distributed include creation of intermediate files whose names include UU… Read more Dask-distributed. How To Get Task Key Id In The Function Being Calculated?

Dask Persist Behavior Inconsistent

I found weird behavior with dask persist, if I comment out this line # client = Client(memory_… Read more Dask Persist Behavior Inconsistent

Parallelize Tree Creation With Dask

I need help about a problem that I'm pretty sure dask can solve. But I don't know how to ta… Read more Parallelize Tree Creation With Dask

How To Do Row Processing And Item Assignment In Dask

Similar unanswered question: Row by row processing of a Dask DataFrame I'm working with datafra… Read more How To Do Row Processing And Item Assignment In Dask

Can I Use Functions Imported From .py Files In Dask/distributed?

I have a question about serialization and imports. should functions have their own imports? like … Read more Can I Use Functions Imported From .py Files In Dask/distributed?

Xarray.open_mfdataset() Doesn't Work If Dask.distributed Client Has Been Created

I have a bit of a weird problem that I'd appreciate some input on. Basically, I'm running a… Read more Xarray.open_mfdataset() Doesn't Work If Dask.distributed Client Has Been Created

Dask Scheduler Empty / Graph Not Showing

I have a setup as follows: # etl.py from dask.distributed import Client import dask from tasks impo… Read more Dask Scheduler Empty / Graph Not Showing

How To Avoid An Empty Result With `bag.take(n)` When Using Dask?

Context: Dask documentation states clearly that Bag.take() will only collect from the first partiti… Read more How To Avoid An Empty Result With `bag.take(n)` When Using Dask?

Apply Function Along Time Dimension Of XArray

I have an image stack stored in an XArray DataArray with dimensions time, x, y on which I'd lik… Read more Apply Function Along Time Dimension Of XArray