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])
def data_missing_for_sorting(): return ppi.PintArray([4, np.nan, -5])
def data_missing(): return ppi.PintArray([np.nan, 1] * ureg.meter)
def data_for_sorting(): return ppi.PintArray([0.3, 10, -50])
def data(): return ppi.PintArray(np.arange(start=1., stop=101.) * ureg.kilogram)