BUG: Validate numeric_only parameter in groupby aggregations
Validates the numeric_only parameter in groupby aggregations to ensure proper handling of non-numeric columns.
Changes:
- Added validation for numeric_only parameter in groupby operations
- Ensures consistent behavior when aggregating mixed data types
Fixes issue with groupby aggregations when numeric_only parameter is used.