Trying to only keep the rows in my data frame that are equal to certain string values.
I've tried to do it a few ways but keep running to errors:
curr = curr[curr['Technology'] == 'Solar Photovoltaic'] | curr[curr['Technology'] == 'Solar Thermal without Energy Storage'] | curr[curr['Technology'] == 'Solar Thermal with Energy Storage']
Gives error: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
curr = curr[curr['Technology'] == 'Solar Photovoltaic'] or curr[curr['Technology'] == 'Solar Thermal without Energy Storage'] or curr[curr['Technology'] == 'Solar Thermal with Energy Storage']
Gives error: unsupported operand type(s) for |: 'str' and 'bool'