Skip to content Skip to sidebar Skip to footer
Showing posts with the label 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

How Does Dask.delayed Handle Mutable Inputs?

If I have an mutable object, let's say for example a dict, how does dask handle passing that as… Read more How Does Dask.delayed Handle Mutable Inputs?

Collecting Attributes From Dask Dataframe Providers

TL;DR: How can I collect metadata (errors during parsing) from distributed reads into a dask datafr… Read more Collecting Attributes From Dask Dataframe Providers

Basic Groupby Operations In Dask

I am attempting to use Dask to handle a large file (50 gb). Typically, I would load it in memory an… Read more Basic Groupby Operations In Dask

Can I Create A Multivariate_normal Matrix Using Dask?

Somewhat related to this post, I am trying to replicate multivariate_normal in dask: Using numpy I … Read more Can I Create A Multivariate_normal Matrix Using Dask?

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

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?

Filtering Grouped Df In Dask

Related to this similar question for Pandas: filtering grouped df in pandas Action To eliminate gro… Read more Filtering Grouped Df In Dask

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

How To Add/append A Row To A Particular Partition In The Dask Dataframe?

I want to append a row to a particular partition in dask dataframes. I have tried out many methods … Read more How To Add/append A Row To A Particular Partition In The Dask Dataframe?

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 Dataframe: Can `set_index` Put A Single Index Into Multiple Partitions?

Empirically it seems that whenever you set_index on a Dask dataframe, Dask will always put rows wit… Read more Dask Dataframe: Can `set_index` Put A Single Index Into Multiple Partitions?

Error Reading An Uploaded CSV Using Dask In Django: 'InMemoryUploadedFile' Object Has No Attribute 'startswith'

I'm building a Django app that enables users to upload a CSV via a form using a FormField. Once… Read more Error Reading An Uploaded CSV Using Dask In Django: 'InMemoryUploadedFile' Object Has No Attribute 'startswith'

How To Check If Dask Dataframe Is Empty If Lazily Evaluated?

I am aware of this question. But check the code(minimal-working example) below: import dask.datafra… Read more How To Check If Dask Dataframe Is Empty If Lazily Evaluated?

Dask: Is It Safe To Pickle A Dataframe For Later Use?

I have a database-like object containing many dask dataframes. I would like to work with the data, … Read more Dask: Is It Safe To Pickle A Dataframe For Later Use?

Collecting Attributes From Dask Dataframe Providers

TL;DR: How can I collect metadata (errors during parsing) from distributed reads into a dask datafr… Read more Collecting Attributes From Dask Dataframe Providers