Skip to content

IndexError #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tranvanha1508 opened this issue Jun 4, 2021 · 1 comment
Open

IndexError #5

tranvanha1508 opened this issue Jun 4, 2021 · 1 comment

Comments

@tranvanha1508
Copy link

line 79, in mergeG merged.obsVal = np.vstack([merged.obsVal, gB.obsVal[bObbsIdx, :]])
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
help me

@tranvanha1508
Copy link
Author

merged.obsVal = np.vstack([merged.obsVal, gB.obsVal[int(bObbsIdx), :]])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant