ccsf-math-108 / materials-fa23

Fall 2023 student course materials for MATH 108 Foundations of Data Science at CCSF
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

HW06,Task4 results #27

Closed shihwachang closed 1 year ago

shihwachang commented 1 year ago

When I attempted to code the results, it returns array of ([1,1,0,......]), then I need to use bool_arr to convert it to the boolean values that we were asked to do. Is this the intended task?

Screen Shot 2023-10-04 at 7 34 11 AM
shawnwiggins commented 1 year ago

I'm not sure what bool_arr is since you just commented out the name in the image. The hint suggests that you should use the apply table method for the intended solution. This is how you can prevent looping through the row indexes.

I don't see anything to fix, so I'll close this issue. It seems this is more of a question about the intended way to complete the assignment.