Comma cleanup for Issue #35925
- [x] contributes to #35925
- [x] tests added / passed

Tested with:
`./ci/code_checks.sh`

Files edited:
pandas/tests/frame/test_analytics.py,
pandas/tests/frame/test_constructors.py,
pandas/tests/frame/test_reshape.py,
pandas/tests/generic/test_finalize.py,
pandas/tests/generic/test_to_xarray.py,
pandas/tests/groupby/aggregate/test_numba.py
