Skip to content

Commit

Permalink
Adhere to Black
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Jul 31, 2024
1 parent 4b6b268 commit ab83b52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/demandlib/particular_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def simple_profile(self, annual_demand, **kwargs):
week_filter = self.dataframe["weekday"].isin(week)
weekend_filter = self.dataframe["weekday"].isin(weekend)

# Update 'ind' column based on day/night filters and weekday/weekend conditions
# Update 'ind' column based on day/night filters
# and weekday/weekend conditions.
self.dataframe.loc[day_filter & week_filter, "ind"] = profile_factors[
"week"
]["day"]
Expand Down

0 comments on commit ab83b52

Please sign in to comment.