Skip to content

Dropping data variables in InferenceData #1905

Answered by OriolAbril
mortonjt asked this question in Q&A
Discussion options

You must be logged in to vote

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 with inf.drop() directly so you can drop variables from both posterior and prior at the same time for example

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by OriolAbril
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants