From b7488a2edf0e8762ecf0e30c68a72d3ff6ef102c Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Thu, 22 Jul 2021 11:20:15 +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 b47b4db..6bb234e 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -1027,7 +1027,7 @@ def kernel_15( t22 = numpy.random.choice(t4, 10) import tqdm for k in tqdm.tqdm(t22): - t5 = t4[-1] + t5 = t4[k] t6 = t3.video_path.data[t5] t7 = t3.frame_id.data[t5] t8 = t3.to_dataframe().iloc[t5]