[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-19 10:15:20 +03:00
parent b2d8b6cfc0
commit 5307f1932e

@ -196,7 +196,9 @@ def kernel_4(
"""
t1 = numpy.where(o_3['t5']['events']['gamePk'] == 634280)[0]
t2 = o_3['t5']['events'].sel(index=t1)
t5 = o_3['t5']['events'].index.data
t6 = t5[t1]
t2 = o_3['t5']['events'].sel(index=t6)
t3 = o_3['t5']['games'].to_dataframe().iloc[-1].to_dict()
assert t3['gamePk'] == 634280