We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In various places throughout shade_ms/dask_utils.py we assume an underlying pandas Dataframe when creating a dask Dataframe.
shade_ms/dask_utils.py
shadeMS/shade_ms/dask_utils.py
Lines 22 to 26 in 4026ff4
Lines 138 to 143 in 4026ff4
It is now possible to specify a Dataframe backend when creating dask Dataframes https://medium.com/rapids-ai/easy-cpu-gpu-arrays-and-dataframes-run-your-dask-code-where-youd-like-e349d92351d?s=03.
>>> with dask.config.set({"dataframe.backend": "cudf"}): … data = {"a": range(10), "b": range(10)} … ddf = dd.from_dict(data, npartitions=2) … >>> ddf <dask_cudf.DataFrame | 2 tasks | 2 npartitions>
shadems should respect this option. The following code might be one way of doing so in dask_utils.py:
dask_utils.py
from importlib import import_module backend = dask.config.get("dataframe.backend") dataframe = backend.Dataframe(...)
The text was updated successfully, but these errors were encountered:
arpan-das-astrophysics
No branches or pull requests
In various places throughout
shade_ms/dask_utils.py
we assume an underlying pandas Dataframe when creating a dask Dataframe.shadeMS/shade_ms/dask_utils.py
Lines 22 to 26 in 4026ff4
shadeMS/shade_ms/dask_utils.py
Lines 138 to 143 in 4026ff4
It is now possible to specify a Dataframe backend when creating dask Dataframes https://medium.com/rapids-ai/easy-cpu-gpu-arrays-and-dataframes-run-your-dask-code-where-youd-like-e349d92351d?s=03.
shadems should respect this option. The following code might be one way of doing so in
dask_utils.py
:The text was updated successfully, but these errors were encountered: