HF RL Explorer

all equal makes unnecessary extra groupby. next call

all equal makes unnecessary extra groupby. next call: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). When calling all equal on an iterable where all elements are equal (e.g., iter('aaaaa') ), the internal implementation calls next on the groupby iterator one more time than necessary.

Part of FineEnvs/repo2rlenv-r2e-gym.