CNM-University-of-Guelph / NASEM-Model-Python

The NASEM 8 model coded in python
Other
0 stars 0 forks source link

Refactor_np_where #121

Closed BFieguth closed 2 months ago

BFieguth commented 2 months ago

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: