join.pyi 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. import numpy as np
  2. def inner_join(
  3. left: np.ndarray, # const intp_t[:]
  4. right: np.ndarray, # const intp_t[:]
  5. max_groups: int,
  6. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]
  7. def left_outer_join(
  8. left: np.ndarray, # const intp_t[:]
  9. right: np.ndarray, # const intp_t[:]
  10. max_groups: int,
  11. sort: bool = True,
  12. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]
  13. def full_outer_join(
  14. left: np.ndarray, # const intp_t[:]
  15. right: np.ndarray, # const intp_t[:]
  16. max_groups: int,
  17. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]
  18. def ffill_indexer(
  19. indexer: np.ndarray, # const intp_t[:]
  20. ) -> np.ndarray: ... # np.ndarray[np.intp]
  21. def left_join_indexer_unique(
  22. left: np.ndarray, # ndarray[join_t]
  23. right: np.ndarray, # ndarray[join_t]
  24. ) -> np.ndarray: ... # np.ndarray[np.intp]
  25. def left_join_indexer(
  26. left: np.ndarray, # ndarray[join_t]
  27. right: np.ndarray, # ndarray[join_t]
  28. ) -> tuple[
  29. np.ndarray, # np.ndarray[join_t]
  30. np.ndarray, # np.ndarray[np.intp]
  31. np.ndarray, # np.ndarray[np.intp]
  32. ]: ...
  33. def inner_join_indexer(
  34. left: np.ndarray, # ndarray[join_t]
  35. right: np.ndarray, # ndarray[join_t]
  36. ) -> tuple[
  37. np.ndarray, # np.ndarray[join_t]
  38. np.ndarray, # np.ndarray[np.intp]
  39. np.ndarray, # np.ndarray[np.intp]
  40. ]: ...
  41. def outer_join_indexer(
  42. left: np.ndarray, # ndarray[join_t]
  43. right: np.ndarray, # ndarray[join_t]
  44. ) -> tuple[
  45. np.ndarray, # np.ndarray[join_t]
  46. np.ndarray, # np.ndarray[np.intp]
  47. np.ndarray, # np.ndarray[np.intp]
  48. ]: ...
  49. def asof_join_backward_on_X_by_Y(
  50. left_values: np.ndarray, # asof_t[:]
  51. right_values: np.ndarray, # asof_t[:]
  52. left_by_values: np.ndarray, # by_t[:]
  53. right_by_values: np.ndarray, # by_t[:]
  54. allow_exact_matches: bool = True,
  55. tolerance=None,
  56. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]
  57. def asof_join_forward_on_X_by_Y(
  58. left_values: np.ndarray, # asof_t[:]
  59. right_values: np.ndarray, # asof_t[:]
  60. left_by_values: np.ndarray, # by_t[:]
  61. right_by_values: np.ndarray, # by_t[:]
  62. allow_exact_matches: bool = True,
  63. tolerance=None,
  64. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]
  65. def asof_join_nearest_on_X_by_Y(
  66. left_values: np.ndarray, # asof_t[:]
  67. right_values: np.ndarray, # asof_t[:]
  68. left_by_values: np.ndarray, # by_t[:]
  69. right_by_values: np.ndarray, # by_t[:]
  70. allow_exact_matches: bool = True,
  71. tolerance=None,
  72. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]
  73. def asof_join_backward(
  74. left_values: np.ndarray, # asof_t[:]
  75. right_values: np.ndarray, # asof_t[:]
  76. allow_exact_matches: bool = True,
  77. tolerance=None,
  78. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]
  79. def asof_join_forward(
  80. left_values: np.ndarray, # asof_t[:]
  81. right_values: np.ndarray, # asof_t[:]
  82. allow_exact_matches: bool = True,
  83. tolerance=None,
  84. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]
  85. def asof_join_nearest(
  86. left_values: np.ndarray, # asof_t[:]
  87. right_values: np.ndarray, # asof_t[:]
  88. allow_exact_matches: bool = True,
  89. tolerance=None,
  90. ) -> tuple[np.ndarray, np.ndarray,]: ... # np.ndarray[np.intp] # np.ndarray[np.intp]