-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #383 from lincc-frameworks/use_dask_expr
Enable dask-expr
- Loading branch information
Showing
12 changed files
with
361 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
import dask | ||
import warnings | ||
|
||
|
||
QUERY_PLANNING_ON = dask.config.get("dataframe.query-planning") | ||
# Force the use of dask-expressions backends | ||
if QUERY_PLANNING_ON is False: | ||
warnings.warn("This version of tape (v0.4.0+) requires dataframe query-planning, which has been enabled.") | ||
dask.config.set({"dataframe.query-planning": True}) | ||
|
||
from .analysis import * # noqa | ||
from .ensemble import * # noqa | ||
from .ensemble_frame import * # noqa | ||
from .timeseries import * # noqa | ||
from .ensemble_readers import * # noqa | ||
from ._version import __version__ # noqa | ||
from .ensemble_frame import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.