lst = [-1, -2, -3, 1, 2, 3]
ser = md.Series([1, 2, 2, 4, 6, 6], index=lst)
plot = ser.groupby(lambda x: x > 0).plot(title="SeriesGroupBy Plot")
