Fix linting a.k.a. Maybe one day, flake8 will like me

This commit is contained in:
froggleston
2023-09-02 15:05:34 +01:00
parent 250e00e6c7
commit 925e18368a

View File

@@ -121,7 +121,7 @@ def _do_group_table_output(bigdf, glist, csv_path: Path, to_csv=False, ):
new['exp_ratio'] = (
(
(1 + (new['avg_win'] / abs(new['avg_loss']))) * (new['wl_ratio_pct']/100)
(1 + (new['avg_win'] / abs(new['avg_loss']))) * (new['wl_ratio_pct'] / 100)
) - 1).fillna(0)
new.columns = ['total_num_buys', 'wins', 'losses',