Using Dask to Process More in Parallel

Nov. 24, 2021, 11:53 a.m.

Dask is a Python package that is used to process analytical methods at scale...

Resources:

  1. Dask Website

Implementation:

The Dask application can be kicked off using the following script:

import dask.dataframe as dd
import pandas as pd
df = pd.DataFrame(
    {"nums": [1, 2, 3, 4, 5, 6], "letters": ["a", "b", "c", "d", "e", "f"]}
)
ddf = dd.from_pandas(df, npartitions=2)

~NFE~

 


Comment Count: 0 Comments: