Fill in information for PR below. On review, add additional commits and a comment thats checks off any tasks so that all are complete before merging.
Description of changes
Refactor use of np.where outside of nutrient_intakes module to prevent converting type to array. np.where is used in nutrient_intakes module as this is correct methodd for handling boolean logic. These function returns are assigned to Dataframe columns which will covert them to pandas Series anyway.
Issue number/s
fixes #107
Checklist of all completed
Mark with [x] to show completed:
[x] No merge conflicts (if conflicts, merge main to branch and resolve before making PR)
[x] Tests written (if feature added or refactored)
Comment out check for arrays
Fill in information for PR below. On review, add additional commits and a comment thats checks off any tasks so that all are complete before merging.
Description of changes
Refactor use of np.where outside of nutrient_intakes module to prevent converting type to array. np.where is used in nutrient_intakes module as this is correct methodd for handling boolean logic. These function returns are assigned to Dataframe columns which will covert them to pandas Series anyway.
Issue number/s
fixes #107
Checklist of all completed
Mark with
[x]
to show completed: