Notebook
Piecewise((2/27,And(x<1/3,x>0)), (14/27,And(x<2/3,x>1/3)),(38/27,And(x<1,x>2/3)))
Piecewise((0.0740740740740740, And (x < 1/3, x > 0)), (0.518518518518518, And (x < 2/3, x > 1/3)), (1.40740740740741, And (x < 1, x > 2/3)))
0 (0.667, 1] 1 (0, 0.333] 2 (0.667, 1] 3 (0.333, 0.667] 4 (0.333, 0.667] Name: x, dtype: category Categories (3, object): [(0, 0.333] < (0.333, 0.667] < (0.667, 1]]
(0, 0.333] 0.069240 (0.333, 0.667] 0.520154 (0.667, 1] 1.409747 Name: xi, dtype: float64