[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-19 10:17:29 +03:00
parent 0dfe3202ea
commit 15d33e82e9

@ -199,7 +199,7 @@ def kernel_4(
t5 = o_3['t5']['events'].index.data t5 = o_3['t5']['events'].index.data
t6 = t5[t1] t6 = t5[t1]
t2 = o_3['t5']['events'].sel(index=t6) t2 = o_3['t5']['events'].sel(index=t6)
t3 = o_3['t5']['games'].to_dataframe().iloc[-1].to_dict() t3 = o_3['t5']['games'].to_dataframe().iloc[-20].to_dict()
pprint.pprint(t3) pprint.pprint(t3)
assert t3['gamePk'] == 634280 assert t3['gamePk'] == 634280