wrap comparisons in brackets
This commit is contained in:
parent
d45cb71b7a
commit
6110fe784d
@ -104,7 +104,7 @@ def replace_natural_gas_technology(df):
|
||||
|
||||
|
||||
def replace_natural_gas_fueltype(df):
|
||||
return df.Fueltype.mask(df.Technology == "OCGT" | df.Technology == "CCGT", "Natural Gas")
|
||||
return df.Fueltype.mask((df.Technology == "OCGT") | (df.Technology == "CCGT"), "Natural Gas")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user