Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Plot group size after running groupby

$
0
0

I have a DataFrame with a :group column and did a
gb = groupby(df, :group)

I would like to plot the group sizes vs. group id.
For example, for group gb[1] on the x-axis I would like to plot nrow(gb[1]) on the y-axis

How can I do it?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles