Skip to content

Commit

Permalink
Fix firmeza field
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmunoznovoa committed Sep 12, 2023
1 parent df69847 commit 592f70e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mesures/f3.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ def reader(self, filepath):
'ae': 'sum'
}
).reset_index()
# TODO review obtencion and firmeza
df['method'] = 1
df['firmeza'] = 1
df['firmeza'] = df.apply(lambda row: 1 if row['method'] in (1, 3) else 0, axis=1)
# TODO Review method

df = df[columns]
return df

Expand Down

0 comments on commit 592f70e

Please sign in to comment.