Closed flowirtz closed 4 years ago
I think I have it!!
So if the index is name
, wouldn't we need to switch the two in accessing the Df? So:
# DO THIS
height_meters = PARAMS_TO_COPY[var_name]["height"]
# Not this
height_meters = PARAMS_TO_COPY["height"][var_name]
?
Follow-up question: What happens for those that don't have a height set? Crash?
I think that's not it, I think the issue is with the .sel
in the subset.subset
🙈