BUG: single group series should preserve group name
Merge pull request #7313 from cpcloud/fix-single-group-extract

BUG: single group series should preserve group name
BUG: do not check that val != val and not equal inf/-inf since by def val not eq val is nan