in practice lab 1…task2…there is an error appearing
The error comes from your code. Everyone understands the error and solve it on their own, and here is how you can start this process:
- read the error message “IndexError: boolean index …”
- google the error message for more explanations. It’s not unusual that you need to read over 5 or 10 posts to finally understand it.
- experiment your understanding about this error. For example, I can provide you with the following example that can reproduce the error, but I will leave it to you to understand the rationale behind through step 1, 2 and 3.
- After you understand the source of the error, then you will need to figure out what’s wrong with your work, and how to correct it. I won’t tell you how to correct it.
thanks for guiding sir…my problem has been solved
Great job solving the problem on your own!