weecology/macroecotools — pull request #12 by ethanwhite (2014-08-08 16:51:32+00:00)
Title: Allow counting of records to work for series as well as dataframes

abundance_in_group was failing when the lack of an abundance
column resulted in trying to use .count() on a Series instead of
a Dataframe. This replaces that call with .size() which works on
both.

It also removes an unnecessary slicing to remove columns that
should never exist.

Fixes #10.