Skip to content

Commit dd92332

Browse files
committed
PEP8
1 parent bc5b084 commit dd92332

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

windpowerlib/wind_turbine.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
except ImportError:
2020
rq = None
2121

22+
2223
class WindTurbine(object):
2324
r"""
2425
Defines a standard set of wind turbine attributes.
@@ -338,6 +339,7 @@ def load_turbine_data_from_oedb():
338339
'see https://pypi.org/project/requests/')
339340
return turbine_data
340341

342+
341343
def get_turbine_types(print_out=True):
342344
r"""
343345
Get the names of all possible wind turbine types for which the power
@@ -374,7 +376,7 @@ def get_turbine_types(print_out=True):
374376
['manufacturer', 'turbine_type', 'has_cp_curve']]
375377
p_curves_df = df.iloc[df.loc[df['has_power_curve'] == True].index][
376378
['manufacturer', 'turbine_type', 'has_power_curve']]
377-
curves_df= pd.merge(p_curves_df, cp_curves_df, how='outer',
379+
curves_df = pd.merge(p_curves_df, cp_curves_df, how='outer',
378380
sort=True).fillna(False)
379381
if print_out:
380382
pd.set_option('display.max_rows', len(curves_df))

0 commit comments

Comments
 (0)