Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
austinorr committed Dec 14, 2021
1 parent 3cee93e commit 85a082a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lyra/lyra/src/viz/diversion_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ def make_source_csv(source: pandas.DataFrame) -> str:


def make_source(**kwargs: Dict) -> pandas.DataFrame:
df = simulate_diversion(**kwargs) # type: ignore
df: pandas.DataFrame = df.reset_index().melt(id_vars="date").round(4)
df = (
simulate_diversion(**kwargs) # type: ignore
.reset_index()
.melt(id_vars="date")
.round(4)
)
return df


Expand Down

0 comments on commit 85a082a

Please sign in to comment.