segreg.bootstrap.random_selection_with_replacement_two_series

random_selection_with_replacement_two_series(series1, series2)[source]

Random draw with replacement. Each draw is from the same index for the two series. The two series are assumed to have the same length, and the number of draws is equal to the number of elements of the series.

Parameters
  • series1 (array-like) –

  • series2 (array-like) – Must have same number of elements as series1.

Returns

tuple of numpy array

Return type

tuple