Skip to content
Discussion options

You must be logged in to vote

I figured this out! In a previous step, I subsetted my video to drop the first frame using this: "varr.sel(frame=slice(1, None))". While I was trying to drop the first frame, I set the subset variable as something else (which is not a dictionary). Thus, I was able to solve the ValueError by using "varr.sel(frame=slice(1, None))" instead of "varr.sel(subset)".

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@phildong
Comment options

Answer selected by phildong
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