Peter Otten wrote: > groupby() is "all you can eat", but "no doggy bag". Thank you for your clear explanation--a satisfying conclusion to nine hours of head scratching. James -- James Stroud UCLA-DOE Institute for Genomics and Proteomics Box 951570 Los Angeles, CA 90095 http://www.jamesstroud.com