-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Deprecation warning is pretty intense #10917
Copy link
Copy link
Closed
Labels
needs triageNeeds a response from a contributorNeeds a response from a contributor
Description
In [1]: import dask
In [2]: import dask.dataframe
<ipython-input-2-1d704cbd4e0a>:1: DeprecationWarning: The current Dask DataFrame implementation is deprecated.
In a future release, Dask DataFrame will use new implementation that
contains several improvements including a logical query planning.
The user-facing DataFrame API will remain unchanged.
The new implementation is already available and can be enabled by
installing the dask-expr library:
$ pip install dask-expr
and turning the query planning option on:
>>> import dask
>>> dask.config.set({'dataframe.query-planning': True})
>>> import dask.dataframe as dd
API documentation for the new implementation is available at
https://docs.dask.org/en/stable/dask-expr-api.html
Any feedback can be reported on the Dask issue tracker
https://github.com/dask/dask/issues
import dask.dataframeAlso this happens every time I import dask.dataframe, rather than just once. Is there a good way to turn it off? This strikes me as scary.
In my mind if we're giving people a scary warning then there needs to be an easy way to opt-out of that warning, either by opting in to the new behavior (if we think that that's wise) or by having an opt-out option for future use
To disable this warning in the future, run the following command:
dask config set dataframe.query-optimization-warning=False
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs triageNeeds a response from a contributorNeeds a response from a contributor