Dropping data variables in InferenceData
#1905
-
Just out of curiosity, it is possible to drop data variables from EDIT : I found that just deleting variables can resolve this, for instance del inf['posterior']['useless_variable'] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As a starting point you can do |
Beta Was this translation helpful? Give feedback.
As a starting point you can do
inf["posterior"].drop()
as all groups are xarray datasets, but we could extend the drop method to work withinf.drop()
directly so you can drop variables from both posterior and prior at the same time for example