flushing
This commit is contained in:
parent
6533956fdf
commit
2cdf9246ed
1 changed files with 1 additions and 1 deletions
|
|
@ -38,6 +38,6 @@ def find_AWR(performances,AWR=Current_AWR,identifier='SNC_ID'):
|
||||||
on='Gender EventClass Stroke Distance'.split(),
|
on='Gender EventClass Stroke Distance'.split(),
|
||||||
how='inner'
|
how='inner'
|
||||||
)
|
)
|
||||||
.groupby(identifier+'Gender EventClass Stroke Distance'.split(),group_keys=False)
|
.groupby([identifier]+'Gender EventClass Stroke Distance'.split(),group_keys=False)
|
||||||
.apply(lambda df: df.assign(AWR=1+len(df[df.AWR < df.Seconds])).head(1))
|
.apply(lambda df: df.assign(AWR=1+len(df[df.AWR < df.Seconds])).head(1))
|
||||||
)
|
)
|
||||||
Loading…
Add table
Reference in a new issue