getindex adapted to new DataFrame constructors
return aggregation functions added, html output refined