GWeindel / hmp

Repository for the hmp python package
BSD 3-Clause "New" or "Revised" License
35 stars 8 forks source link

Condition selection 'contains' method bug #126

Closed rickdott closed 10 months ago

rickdott commented 10 months ago

stacking/unstacking introduced nans into coordinate of 'object' type, meaning .str.contains() cannot match it. Fixed by replacing na values with "" (empty string), which should never match with condition_string, unless of course it is the empty string.