File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -310,8 +310,8 @@ def len_unique(x):
310310
311311 combs = np .array (np .hstack ([1 , np .cumprod (ndistinct [:- 1 ])]))
312312 mat = np .array (ids )
313- res = (mat - 1 ) @ combs .T + 1
314- res = np .array (res ).flatten ().tolist ()
313+ _res = (mat - 1 ) @ combs .T + 1
314+ res : list [ int ] = np .array (_res ).flatten ().tolist ()
315315
316316 if drop :
317317 return _id_var (res , drop )
Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ def _lrtb(pos):
467467 if just is None :
468468 just = (0.5 , 0.5 )
469469 elif just in VALID_JUSTIFICATION_WORDS :
470- just = ensure_xy_location (just ) # pyright: ignore[reportArgumentType]
470+ just = ensure_xy_location (just )
471471 elif isinstance (just , (float , int )):
472472 just = (just , just )
473473 return just [idx ]
You can’t perform that action at this time.
0 commit comments