Performance Issue - DataArray.drop_vars
increase runtime significantly.
#7432
Unanswered
KenTSUI-dev
asked this question in
General
Replies: 1 comment 3 replies
-
@KenTSUI-dev xarr = xarr.drop_vars({'dummy1', 'dummy2', 'dummy3',}) I'm in no way an expert in dask performance diagnosing, but the timings vary from run to run. Even when run separately timings differ from run to run. I'm interested how proper diagnosing is done in such cases, too. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In one of my project trying to process and visualise some 4D modelling data from Delft3D FM in ArcGIS Online, I found that
DaskArray.drop_vars
doubles the runtime of my code. From my understanding, dropping variables should not be a costly task. Though I am not able to copy my project here for your testing, I tried to produce a minimal working example below to demonstrate the situation. I would like to know if it is expected (i.e. dropping variables is costly) and how to avoid it?output:
Beta Was this translation helpful? Give feedback.
All reactions