[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-19 10:18:43 +03:00
parent 49951a7373
commit 9d832f9e0e

@ -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[-19].to_dict() t3 = o_3['t5']['games'].to_dataframe().iloc[-2].to_dict()
pprint.pprint(t3) pprint.pprint(t3)
assert t3['gamePk'] == 634280 assert t3['gamePk'] == 634280