NaN values need to be removed from group-by series before passing it as argument

* Raise exception if group-by series contains NaN values.
* Add unit test cases to check that operation filter_and_group_series works and raises an exception if group-by series contains NaN values.
7 jobs for main in 3 minutes and 28 seconds (queued for 7 seconds)