[~] Refactor
This commit is contained in:
parent
0c4029d3f4
commit
b2d8b6cfc0
@ -195,7 +195,7 @@ def kernel_4(
|
|||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
t1 = numpy.where(o_3['t5']['events']['gamePk'] == 634280)
|
t1 = numpy.where(o_3['t5']['events']['gamePk'] == 634280)[0]
|
||||||
t2 = o_3['t5']['events'].sel(index=t1)
|
t2 = o_3['t5']['events'].sel(index=t1)
|
||||||
t3 = o_3['t5']['games'].to_dataframe().iloc[-1].to_dict()
|
t3 = o_3['t5']['games'].to_dataframe().iloc[-1].to_dict()
|
||||||
assert t3['gamePk'] == 634280
|
assert t3['gamePk'] == 634280
|
||||||
|
Loading…
Reference in New Issue
Block a user