grouped2 = data.groupby(lambdax: x.year).apply(lambdasdf: sdfiflen(sdf) >11elseNone).reset_index(drop=True) That gives me the "right values" .. but this generated a new dataframe "without index with timestamp" .. i'm sure there is a simply and beauty way to do it.. ...
Calculates sociometric status determinations of a specified single group from a SSrat compliant dataframeHans Landsheer
Reads the ratings of a group of raters from a specified textfile into a SSrat compliant dataframeHans Landsheer