reshape.pyi 419 B

12345678910111213141516
  1. import numpy as np
  2. from pandas._typing import npt
  3. def unstack(
  4. values: np.ndarray, # reshape_t[:, :]
  5. mask: np.ndarray, # const uint8_t[:]
  6. stride: int,
  7. length: int,
  8. width: int,
  9. new_values: np.ndarray, # reshape_t[:, :]
  10. new_mask: np.ndarray, # uint8_t[:, :]
  11. ) -> None: ...
  12. def explode(
  13. values: npt.NDArray[np.object_],
  14. ) -> tuple[npt.NDArray[np.object_], npt.NDArray[np.int64]]: ...