I have data frame with the column 'Item'. When I run this query:

```
df = pd.DataFrame({'SKUIDs': fullFrame.Item})
bySKU = pd.DataFrame(df.groupby(['SKUIDs']).size(),columns = ['Lines'])

```

the results are like this:

[![enter image description here](https://i.stack.imgur.com/ioepy.png)](https://i.stack.imgur.com/ioepy.png)

How can I get this:

[![enter image description here](https://i.stack.imgur.com/xFzOm.png)](https://i.stack.imgur.com/xFzOm.png)