About 50 results
Open links in new tab
  1. How to transform Dask.DataFrame to pd.DataFrame?

    Aug 18, 2016 · How can I transform my resulting dask.DataFrame into pandas.DataFrame (let's say I am done with heavy lifting, and just want to apply sklearn to my aggregate result)?

  2. python - Difference between dask.distributed LocalCluster with threads ...

    Sep 2, 2019 · What is the difference between the following LocalCluster configurations for dask.distributed? Client(n_workers=4, processes=False, threads_per_worker=1) versus …

  3. How to specify correct dtype for column of lists when creating a dask ...

    Oct 9, 2023 · When creating a dask Dataframe with the from_pandas method, the formerly correct dtype object becomes a string[pyarrow]. import dask.dataframe as dd import pandas as pd df = …

  4. dask: difference between client.persist and client.compute

    Jan 23, 2017 · More pragmatically, I recommend using persist when your result is large and needs to be spread among many computers and using compute when your result is small and you want it on just …

  5. Reading an SQL query into a Dask DataFrame - Stack Overflow

    May 24, 2022 · I'm trying create a function that takes an SQL SELECT query as a parameter and use dask to read its results into a dask DataFrame using the dask.read_sql_query function. I am new to …

  6. How to Set Dask Dashboard Address with SLURMRunner (Jobqueue) …

    Dec 17, 2024 · I am trying to run a Dask Scheduler and Workers on a remote cluster using SLURMRunner from dask-jobqueue. I want to bind the Dask dashboard to 0.0.0.0 (so it’s accessible …

  7. dask dataframe how to convert column to to_datetime

    Sep 20, 2016 · When using black-box methods like map_partitions, dask.dataframe needs to know the type and names of the output. There are a few ways to do this listed in the docstring for map_partitions.

  8. python - Why does Dask perform so slower while multiprocessing …

    Sep 6, 2019 · 36 dask delayed 10.288054704666138s my cpu has 6 physical cores Question Why does Dask perform so slower while multiprocessing perform so much faster? Am I using Dask the wrong …

  9. python - Best way to perform arbitrary operations on groups with Dask ...

    Dec 7, 2021 · Dask’s groupby-apply will apply func once to each partition-group pair, so when func is a reduction you’ll end up with one row per partition-group pair. To apply a custom aggregation with …

  10. dask DataFrame equivalent of pandas DataFrame sort_values

    Nov 2, 2016 · What would be the equivalent of sort_values in pandas for a dask DataFrame ? I am trying to scale some Pandas code which has memory issues to use a dask DataFrame instead.