maybe test for what happens if you have empty DataFrame? grouped Series? cumcount on something that's not a column (i.e., passed into the object) and maybe one different dtype for good measure?