Exemple #1
0
def data_for_grouping():
    # should probably get more sophisticated here and use units on all these
    # quantities
    a = 1
    b = 2**32 + 1
    c = 2**32 + 10
    return ppi.PintArray([b, b, np.nan, np.nan, a, a, b, c])
Exemple #2
0
def data_missing_for_sorting():
    return ppi.PintArray([4, np.nan, -5])
Exemple #3
0
def data_missing():
    return ppi.PintArray([np.nan, 1] * ureg.meter)
Exemple #4
0
def data_for_sorting():
    return ppi.PintArray([0.3, 10, -50])
Exemple #5
0
def data():
    return ppi.PintArray(np.arange(start=1., stop=101.) * ureg.kilogram)