Beispiel #1
0
def test_spread_scalar():
    m = IndexMap()
    assert m.spread(1234567890) == 4072825790
Beispiel #2
0
def test_spread_series():
    m = IndexMap()
    s = pd.Series(1234567890, index=range(10000))
    assert len(m.spread(s).unique()) == 1
    assert m.spread(s).unique()[0] == 4072825790