5

I am using Dask and a bit confused.

I run the below and just get this, until the process crashes.

It uses 100% of all 4 CPU cores while its failing;

Can anyone advise me?

distributed.nanny - WARNING - Restarting worker

Here is the code

import pandas as pd
import dask.dataframe as dd
import numpy as np
import time
from dask.distributed import Client
client = Client()
%time dahsn = dd.read_csv("US_Accidents_Dec19.csv")
dahsn.groupby('City').count().compute()
kikee1222
  • 1,866
  • 2
  • 23
  • 46

0 Answers0