From 15d33e82e993aa3791c93335e42b63c9c73c721b Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Mon, 19 Jul 2021 10:17:29 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/mlb_player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tasks/mlb_player.py b/python/tasks/mlb_player.py index 36b79a8..bb23024 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -199,7 +199,7 @@ def kernel_4( 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() + t3 = o_3['t5']['games'].to_dataframe().iloc[-20].to_dict() pprint.pprint(t3) assert t3['gamePk'] == 634280