Add `ShmArray.last()` docstr

only_draw_iv_for_ohlc
Tyler Goodlet 2022-04-07 14:20:40 -04:00
parent f52367c19d
commit 1d7adad2cc
1 changed files with 6 additions and 0 deletions

View File

@ -240,7 +240,13 @@ class ShmArray:
def last(
self,
length: int = 1,
) -> np.ndarray:
'''
Return the last ``length``'s worth of ("row") entries from the
array.
'''
return self.array[-length:]
def push(